sententree
    Overview
    Documentation
    Insights
    Code
    Contributors
    Dependencies
    Alternatives

sententree

A novel text visualization technique

1.0.0  •  Updated 2 years ago  •  by twitter  •  Apache License 2.0

SentenTree

SentenTree is a novel text visualization technique for summarizing a collection of social media text, i.e. take thousands or more Tweets and summarize what the Tweets are about. The aim of this project was to create a visualization that is cheap to compute but represent the connected thoughts in the words.

SentenTree example

See DEMO

Author

Publication

Mengdie Hu, Krist Wongsuphasawat and John Stasko. Visualizing Social Media Content with SentenTree, in IEEE Transactions on Visualization and Computer Graphics 2016.

Installation

npm install sententree

Example usage

<div id="vis"></div>
d3.tsv('data/demo.tsv', (error, data) => {
  // data format is [{ id, text, count }]

  const model = new SentenTreeBuilder()
    .buildModel(data);

  new SentenTreeVis('#vis')
    // change the number to limit number of output
    .data(model.getRenderedGraphs(3))
    .on('nodeClick', node => {
      console.log('node', node);
    });
});

For developers

Install dependencies via npm or yarn

$ npm install

Then run local instance via

$ npm run start

License

Copyright 2014 Twitter, Inc. Licensed under the Apache License Version 2.0

Popularity

Weekly Downloads
6
Stars
124

Maintenance

Development

Last ver 2 years ago
Created 3 years ago
Last commit 2 years ago
2 days between commits

Technology

Node version: 6.3.1
0 unpacked

Compliance

Apache License 2.0
OSI Approved
0 vulnerabilities

Contributors

2 contributors
kwongsuphasawat
107 commits
Works at airbnb
Sumeet Lahorani
Maintainer
Works at Twitter
Andy Aitken
Maintainer
Works at Twitter Inc.
Adam Singer
Maintainer
Adam Cummings
Maintainer
Works at twitter
AdamSt12
Maintainer

Tags

sententree
visualization
Ready for the next level?
Join Openbase's founding team to help us build the ultimate open-source app store, work with the latest technologies, and enjoy great culture, impact and autonomy
Openbase helps developers choose among and use millions of open-source packages, so they can build amazing products faster.
FacebookLinkedIn
© 2020 Devstore, Inc.