Home > OS >  Package to find synonyms of english words for Dart
Package to find synonyms of english words for Dart

Time:04-10

do you know a package to find synonyms of english words for the Dart language?

For example something similar to NLTK for python it would be perfect.

hope someone can help me Thank you :)


I write these words at random otherwise it won't make me postI write these words at random otherwise it won't make me postI write these words at random otherwise it won't make me postI write these words at random otherwise it won't make me post

CodePudding user response:

After doing some research the following packages popped up:

Lemmatizer

Lemmatizer for text in English. Inspired by Python's nltk.corpus.reader.wordnet.morphy

Sadly it doesn't support null safety.

Stemmer.

This package implements a stemming algorithm in Dart. Currently, it supports PorterStemmer and SnowballStemmer. It is a port of the exceptional Python NLTK library.

oxford_dictionary - you would need api key, so based on that I think it is a paid service.

The Oxford Dictionaries API offers an easy way to access powerful lexical data (words, definitions, translations, audio pronunciations, synonyms, antonyms, parts of speech, and more) to use in your apps and websites.

And if you are not in a hurry: Chaquopy is planning to support NLTK library in the future. As it says in the description - it is only available in Android.

This is a chaquopy plugin to run python code on android. This is the simplest version, where you can write you code and run it.

I don't know if these packages will do the work, but they could be starting point.

  • Related