Working with natural languages | Sololearn: Learn to code for FREE!


Working with natural languages

I would like to analyze large amounts of text for the contained vocabulary. Therefore, I'd like a tool that recognizes all sorts of shapes of words and connects them back to the basic word, so that they are only counted once. For example the words "counting", "count", "counted", "counts" would all be recognized as "count" and... counted only once. Is there some framework with the appropriate databases that can do that sort of thing, preferably an easy-to-use one?

12/25/2021 7:31:57 PM


10 Answers

New Answer



So you have a text and want to extract word stems out of it (its sentences)? Did you try nltk (Python )? It should enable you to do something like that for English at least...


Simon Sauter the ability to use Snowball for different languages


I've never used it myself, but this looks like it might do what you're looking for:


Vitaly Sokol, wow, thank you, the example shows it clearly!


Arif Dastager That's exactly the code posted above, isn't it?


Hm, cool, that does look like the general thing I need... Would be great if it worked for other languages, foremost German and Japanese. Thanks, I'll check that out!


Vitaly Sokol is there a reason why you used stemming instead of lemmatization?


HonFu sir , why don't you check out medium . It really have good answers regarding this . 😇🤓😅


That's real nice 👍