GMU:Bots 'n' Plots/Christopher Marx: Difference between revisions

From Medien Wiki
No edit summary
No edit summary
Line 9: Line 9:


The twitter bot is working with the NLTK library; mainly with the built-in function ''stop words''. Linking words, conjunctions, articles and pronouns are words that make a language speakable. However, they don't create the meaning of a text. Idiomaggio filters the stop words out and detects their language. In a second step, the tweet will be responded in the correct language.
The twitter bot is working with the NLTK library; mainly with the built-in function ''stop words''. Linking words, conjunctions, articles and pronouns are words that make a language speakable. However, they don't create the meaning of a text. Idiomaggio filters the stop words out and detects their language. In a second step, the tweet will be responded in the correct language.
Idiamaggio understands the European languages Swedish, Danish, Hungarian, Finnish, Portugese, German, Dutch, French, Spanish, Norwegian, English, Russian, Turkish and Italian.


'''[https://twitter.com/idiomaggio Find Idiomaggio on Twitter]'''
'''[https://twitter.com/idiomaggio Find Idiomaggio on Twitter]'''


Idiamaggio understands the European languages Swedish, Danish, Hungarian, Finnish, Portugese, German, Dutch, French, Spanish, Norwegian, English, Russian, Turkish and Italian.


[[File:English.png]]
[[File:English.png]]
Line 205: Line 206:
The Grammar Bot creates some random sentences.
The Grammar Bot creates some random sentences.


Grab the code at pastebin: [http://pastebin.com/GvgyfDUU]
Grab the code at pastebin: [http://pastebin.com/GvgyfDUU Grammar Bot]