├── docs ├── _config.yml ├── google5f11c95fa18e972b.html └── assets │ ├── story1.png │ ├── story2.png │ ├── story3.png │ ├── story4.png │ ├── story5.png │ ├── story6.png │ ├── screen1.png │ ├── screen2.png │ ├── screen3.png │ ├── screen4.png │ └── reference.txt ├── webserver ├── public │ ├── js │ │ ├── .babelrc │ │ ├── reducers │ │ │ ├── index.js │ │ │ ├── config.js │ │ │ └── storyfinder.js │ │ ├── index.js │ │ ├── store │ │ │ └── configureStore.js │ │ ├── vis │ │ │ ├── helpers │ │ │ │ └── smoothLine.js │ │ │ └── transitions │ │ │ │ ├── removeDeleted.js │ │ │ │ ├── showNew.js │ │ │ │ └── moveExisting.js │ │ ├── package.json │ │ ├── templates │ │ │ ├── relations │ │ │ │ ├── relations.hbs │ │ │ │ └── relation.hbs │ │ │ ├── sites │ │ │ │ └── sites.hbs │ │ │ ├── graph │ │ │ │ └── title.hbs │ │ │ ├── search │ │ │ │ └── results.hbs │ │ │ └── nodes │ │ │ │ └── create.hbs │ │ ├── constants │ │ │ └── ActionTypes.js │ │ ├── libs │ │ │ ├── pagerank.js │ │ │ └── shortestpaths.js │ │ ├── search.js │ │ ├── register │ │ │ └── register.js │ │ └── actions │ │ │ └── StoryfinderActions.js │ ├── fonts │ │ ├── FontAwesome.otf │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ └── fontawesome-webfont.woff2 │ ├── css │ │ └── svg.css │ ├── login.html │ ├── register.html │ └── _index.html ├── docker-deploy.sh ├── init_dev.sh ├── libs │ ├── evallog.js │ ├── tokenizer.js │ ├── corenlp.js │ ├── changelog.js │ └── globalgraph.js ├── views │ ├── layouts │ │ └── main.handlebars │ └── Articles │ │ └── get.handlebars ├── setenv.sh ├── docker │ ├── Dockerfile-dev │ ├── docker-compose-build.yml │ ├── docker-compose.yml │ └── docker-compose-dev.yml ├── Dockerfile ├── models │ ├── Relationtype.js │ ├── Collection.js │ ├── Ngram.js │ ├── User.js │ ├── EntitySentence.js │ ├── RelationSentence.js │ └── ArticleEntity.js ├── controllers │ ├── components │ │ ├── StopwordComponent.js │ │ ├── GermanerComponent.js │ │ ├── KeywordComponent.js │ │ ├── CorenlpComponent.js │ │ └── RandomforestComponent.js │ ├── UsersController.js │ ├── ArticlesController.js │ ├── GraphsController.js │ └── RelationsController.js ├── package.json ├── README.md ├── data │ └── stopwords │ │ └── german.txt └── server.js ├── .gitattributes ├── plugin ├── src │ ├── icon-48.png │ ├── icon-500.png │ ├── icon-red-48.png │ ├── icon-red-500.png │ ├── js-contentstyle │ │ ├── package.json │ │ ├── Gruntfile.js │ │ └── less │ │ │ └── storyfinder.less │ ├── js-backgroundscript │ │ └── package.json │ ├── js-contentscript │ │ └── package.json │ ├── popup.html │ ├── manifest.json │ ├── options.js │ ├── options.html │ ├── menu.js │ ├── popup.js │ ├── icon.html │ ├── menu.html │ └── contentstyle.css ├── notes.txt ├── package.json └── README.md ├── README.md └── .gitignore /docs/_config.yml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /webserver/public/js/.babelrc: -------------------------------------------------------------------------------- 1 | {"presets":["es2015"]} 2 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf 2 | *.jpg -text 3 | *.png -text 4 | -------------------------------------------------------------------------------- /docs/google5f11c95fa18e972b.html: -------------------------------------------------------------------------------- 1 | google-site-verification: google5f11c95fa18e972b.html -------------------------------------------------------------------------------- /docs/assets/story1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhh-lt/storyfinder/HEAD/docs/assets/story1.png -------------------------------------------------------------------------------- /docs/assets/story2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhh-lt/storyfinder/HEAD/docs/assets/story2.png -------------------------------------------------------------------------------- /docs/assets/story3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhh-lt/storyfinder/HEAD/docs/assets/story3.png -------------------------------------------------------------------------------- /docs/assets/story4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhh-lt/storyfinder/HEAD/docs/assets/story4.png -------------------------------------------------------------------------------- /docs/assets/story5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhh-lt/storyfinder/HEAD/docs/assets/story5.png -------------------------------------------------------------------------------- /docs/assets/story6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhh-lt/storyfinder/HEAD/docs/assets/story6.png -------------------------------------------------------------------------------- /plugin/src/icon-48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhh-lt/storyfinder/HEAD/plugin/src/icon-48.png -------------------------------------------------------------------------------- /docs/assets/screen1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhh-lt/storyfinder/HEAD/docs/assets/screen1.png -------------------------------------------------------------------------------- /docs/assets/screen2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhh-lt/storyfinder/HEAD/docs/assets/screen2.png -------------------------------------------------------------------------------- /docs/assets/screen3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhh-lt/storyfinder/HEAD/docs/assets/screen3.png -------------------------------------------------------------------------------- /docs/assets/screen4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhh-lt/storyfinder/HEAD/docs/assets/screen4.png -------------------------------------------------------------------------------- /plugin/src/icon-500.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhh-lt/storyfinder/HEAD/plugin/src/icon-500.png -------------------------------------------------------------------------------- /plugin/src/icon-red-48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhh-lt/storyfinder/HEAD/plugin/src/icon-red-48.png -------------------------------------------------------------------------------- /plugin/src/icon-red-500.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhh-lt/storyfinder/HEAD/plugin/src/icon-red-500.png -------------------------------------------------------------------------------- /webserver/public/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhh-lt/storyfinder/HEAD/webserver/public/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # storyfinder 2 | Storyfinder - A Browser Plugin and Server Backend for Personalized Knowledge- and Information Management 3 | -------------------------------------------------------------------------------- /webserver/public/js/reducers/index.js: -------------------------------------------------------------------------------- 1 | export { default as storyfinder } from './storyfinder'; 2 | export { default as config } from './config'; -------------------------------------------------------------------------------- /webserver/public/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhh-lt/storyfinder/HEAD/webserver/public/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /webserver/public/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhh-lt/storyfinder/HEAD/webserver/public/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /webserver/public/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhh-lt/storyfinder/HEAD/webserver/public/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /webserver/public/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uhh-lt/storyfinder/HEAD/webserver/public/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /webserver/public/js/index.js: -------------------------------------------------------------------------------- 1 | var App = require('./app.js') 2 | ; 3 | 4 | import configureStore from './store/configureStore'; 5 | 6 | const store = configureStore(); 7 | 8 | var app = new App(store); -------------------------------------------------------------------------------- /webserver/docker-deploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | v=0.0.10 4 | 5 | docker login --username=remstef 6 | 7 | docker build -t remstef/storyfinder:$v . 8 | 9 | docker push remstef/storyfinder:$v 10 | -------------------------------------------------------------------------------- /webserver/init_dev.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | apt-get update && apt-get install -y libcairo2-dev libjpeg62-turbo-dev libpango1.0-dev libgif-dev build-essential 4 | 5 | cd /usr/src/app && npm install 6 | 7 | cd /usr/src/app/public/js && npm install 8 | -------------------------------------------------------------------------------- /webserver/libs/evallog.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs') 2 | ; 3 | 4 | module.exports = function(){ 5 | function log(msg){ 6 | //Used for logging events during evaluation 7 | /*fs.appendFile('./data/logs/log.txt', "\n" + (new Date()) + ' ' + msg, function (err) { 8 | console.log(err); 9 | });*/ 10 | } 11 | 12 | this.log = log; 13 | } -------------------------------------------------------------------------------- /webserver/public/js/reducers/config.js: -------------------------------------------------------------------------------- 1 | import Immutable from 'immutable'; 2 | import * as types from '../constants/ActionTypes'; 3 | 4 | const initialState = Immutable.Map({ 5 | 'user-id': 1, 6 | 'server-url': 'http://127.0.0.1:3055' 7 | }); 8 | 9 | export default function config(state = initialState, action) { 10 | switch (action.type) { 11 | 12 | } 13 | return state; 14 | } -------------------------------------------------------------------------------- /webserver/views/layouts/main.handlebars: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 || 16 | | Label | 17 |Neighbor | 18 |
|---|---|---|
| 25 | {{#if Relationtype.label}} 26 | {{Relationtype.label}} 27 | {{else}} 28 | — 29 | {{/if}} 30 | | 31 |{{neighbour.caption}} | 32 |

