{"id":29376491,"url":"https://github.com/twitter/sententree","last_synced_at":"2025-07-09T22:43:15.889Z","repository":{"id":19742564,"uuid":"22999219","full_name":"twitter/SentenTree","owner":"twitter","description":"A novel text visualization technique","archived":false,"fork":false,"pushed_at":"2023-04-10T11:37:45.000Z","size":35733,"stargazers_count":235,"open_issues_count":22,"forks_count":56,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-07-03T04:01:50.782Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"verdaccio/verdaccio","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/twitter.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-08-15T18:35:54.000Z","updated_at":"2025-05-10T10:43:29.000Z","dependencies_parsed_at":"2024-10-09T13:45:32.247Z","dependency_job_id":null,"html_url":"https://github.com/twitter/SentenTree","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/twitter/SentenTree","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twitter%2FSentenTree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twitter%2FSentenTree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twitter%2FSentenTree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twitter%2FSentenTree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/twitter","download_url":"https://codeload.github.com/twitter/SentenTree/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twitter%2FSentenTree/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264504616,"owners_count":23618831,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-09T22:43:12.487Z","updated_at":"2025-07-09T22:43:15.876Z","avatar_url":"https://github.com/twitter.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"SentenTree\n==========\n\nSentenTree 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.\n\n![SentenTree example](https://raw.githubusercontent.com/twitter/SentenTree/master/images/SentenTree.png)\n\n[See DEMO](https://twitter.github.io/SentenTree/)\n\n## Author\n- Mengdie Hu / [@mengdieh](https://twitter.com/mengdieh)\n- Krist Wongsuphasawat / [@kristw](https://twitter.com/kristw)\n\n## Publication\n\nMengdie Hu, Krist Wongsuphasawat and John Stasko. [Visualizing Social Media Content with SentenTree](http://www.cc.gatech.edu/~stasko/papers/infovis16-sententree.pdf), in IEEE Transactions on Visualization and Computer Graphics 2016.\n\n## Installation\n\n```\nnpm install sententree\n```\n\n## Example usage\n\n```html\n\u003cdiv id=\"vis\"\u003e\u003c/div\u003e\n```\n\n```js\nd3.tsv('data/demo.tsv', (error, data) =\u003e {\n  // data format is [{ id, text, count }]\n\n  const model = new SentenTreeBuilder()\n    .buildModel(data);\n\n  new SentenTreeVis('#vis')\n    // change the number to limit number of output\n    .data(model.getRenderedGraphs(3))\n    .on('nodeClick', node =\u003e {\n      console.log('node', node);\n    });\n});\n```\n\n## For developers\n\nInstall dependencies via npm or yarn\n\n```\n$ npm install\n```\n\nThen run local instance via\n\n```\n$ npm run start\n```\n\n## License\n\nCopyright 2014 Twitter, Inc. Licensed under the [Apache License Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwitter%2Fsententree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwitter%2Fsententree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwitter%2Fsententree/lists"}