We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bd4cd5 commit d1c6340Copy full SHA for d1c6340
word_forms/word_forms.py
@@ -106,8 +106,8 @@ def get_word_forms(word):
106
pos = lemma.synset().pos()
107
if pos == "s":
108
pos = "a"
109
- related_words_dict[pos].add(lemma.name())
110
- # TODO: This will add the plural of eg "politics", which according to inflect is "politicss"
+ related_words_dict[pos].add(lemma.name().lower())
+
111
for noun in related_words_dict["n"].copy():
112
related_words_dict["n"].add(inflect.engine().plural_noun(noun))
113
0 commit comments