Python version 3.6
Please install all requirements before running app.py
At the moment we supply 2 apis:
POST request /count
1. you can send a file that its key is "file"
2. you can send a json body as follows
{
"text": "The text that should be calculated"
}
or
{
"url": "http://theurlthat.thefile.isin"
}
don't send them both!
examples:
{
"url": "https://www.w3.org/TR/PNG/iso_8859-1.txt"
} or
{
"text": "Hi! My name is (what?), my name is (who?), my name is Slim Shady"
}
Make sure all of the content is in English!
GET request /word_statistics/word
the word is a the word you want to check the stats of it.
example:
/word_statistics/Shady