jamie2017 / WordTree

Simple API for comparing hyper and hypon difference between two words

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WordTree

Simple API for comparing hyper and hypon difference between two words

Example

  • hypernyms are the synsets that are more general

    • 127.0.0.1:8080/hyper?word1=banana&word2=apple Screenshot
  • hyponyms are the synsets that are more specific

    • 127.0.0.1:8080/hyper?word1=banana&word2=apple Screenshot

Requirement

python==2.7
pydot==1.2.3
Flask==0.12.1
nltk==3.2.2
Werkzeug==0.12.1

Notes

New GET:
@time: 4/21/17 4:31 PM
1. Handle 404.html and image file
2. Use pydot recursively draw node and generate plot
3. Familiar with NLTK WordNet libary 
4. Api practice with Flask and BaseHTTPServer

Reference:

http://www.dh2012.uni-hamburg.de/conference/programme/abstracts/automatic-topic-hierarchy-generation-using-wordnet.1.html

About

Simple API for comparing hyper and hypon difference between two words


Languages

Language:Python 98.9%Language:HTML 1.1%