Welcome to free text clustering

in #ai7 years ago

Since now, any Aigents​ user can do clustering of any collections of web pages and short texts online at https://aigents.com/ and receive output in JSON format for their applications.
word_graph.png

(1) Login to https://aigents.com/
(2) Go to Chat
(3) Input "You cluster format json texts '<JSON>." where <JSON> is valid JSON array of strings and each string is either text or URL, for example:

You cluster format json texts '["http://aigents.com/test/cat/fly.html","http://aigents.com/test/cat/eagle.html","http://aigents.com/test/cat/snake.html","tuna is a fish","cat is a mammal","http://aigents.com/test/cat/french.html","http://aigents.com/test/cat/chinese.html","germans live in germany","russians live in russia","spaniards live in spain"]'.

(4) Get non-hierarchical clustering of texts in JSON format with three arrays: "categories" (each identified with array of featuring words); "category_documents" (dictionary of texts or URLs with all feature counts); "category_features" (dictionary of features times texts or URLs with feature counts), for example:

{"categories":[["in","live"],["is"]],"category_documents":{"is":{"http://aigents.com/test/cat/snake.html":"1","http://aigents.com/test/cat/fly.html":"1","tuna is a fish":"1","cat is a mammal":"1","http://aigents.com/test/cat/eagle.html":"1"},"in, live":{"http://aigents.com/test/cat/french.html":"2","germans live in germany":"2","russians live in russia":"2","http://aigents.com/test/cat/chinese.html":"2","spaniards live in spain":"2"}},"category_features":{"is":{"fly":"1","tuna":"1","mammal":"1","fish":"1","cat":"1","bird":"1","snake":"1","insect":"1","eagle":"1","is":"5","reptile":"1","an":"1"},"in, live":{"chinese":"2","spain":"2","russians":"2","russia":"2","china":"2","in":"10","germany":"2","spaniards":"2","france":"2","germans":"2","french":"2","live":"10"}}}

(5) Or, if you are authorized in https://aigents.com/, using registration flow described earlier at https://steemit.com/ai/@akolonin/how-to-get-your-personal-analytics-for-steemit-social-network-with-help-of-aigents-bot, you can simply submit request as URL in the browser and get same JSON in browser window, or you can do that with GET/POST request via your web application:

https://aigents.com/al?You cluster format json texts '["http://aigents.com/test/cat/fly.html","http://aigents.com/test/cat/eagle.html","http://aigents.com/test/cat/snake.html","tuna is a fish","cat is a mammal","http://aigents.com/test/cat/french.html","http://aigents.com/test/cat/chinese.html","germans live in germany","russians live in russia","spaniards live in spain"]'.