Questions tagged [snowball-stemmer]

9 questions
3
votes
1 answer

German stemmer is not removing feminine suffixes "-in" and "-innen"

In German, every job has a feminine and a masculine version. The feminine one is derived from the masculine one by adding an "-in" suffix. In the plural form, this turns into "-innen". Example: | English |…
sebrockm
  • 5,733
  • 2
  • 16
  • 39
3
votes
0 answers

Lucene breaks Snowball stemmer dependency

In my Java project (using Maven) I have Gate 8.0 as basis for doing some natural language processing and it loads the Stemmer_Snowball plugin (see plugin list). As the documentation states the Stemmers are processing resource wrappers over the…
nyxz
  • 6,918
  • 9
  • 54
  • 67
1
vote
0 answers

SnowballStemmer("english") is not working for a list of words

I am trying to learn Stemming in NLTK and while I try to stem words with SnowballStemmer it has stuck with PorterStemmer. Although when I try to stem one single word it works properly but when I try to stem a list of words, it stems with…
0
votes
0 answers

Porter stemming of 'ion-er' words

I'm coding in R and lemmatizing some text about air-conditioning. I use the Snowball stemming library SnowballC::wordStem(), which implements the Porter Stemming Algorithm. I was surprised by this…
David T
  • 1,993
  • 10
  • 18
0
votes
2 answers

Elasticsearch synonym filter after stemmer sometimes does not work properly

With a simple analyzer that applies a synonym filter after a stemmer, sometimes for some stemmed words, the synonym does not work while the exact stemmed word is used in the synonym filter. First, I created an analyzer that applies a synonym filter…
0
votes
0 answers

How to fix 'SnowballStemmer' object has no attribute 'StemWords?

This is the code: import nltk from nltk.stem.snowball import SnowballStemmer stemmer = SnowballStemmer(language='english') stem = [] lines2 = ["test"] for words in lines2: stem.append(stemmer.stem(words)) …
user17456443
0
votes
1 answer

Fix SnowballStemmer Error "AttributeError: 'English' object has no attribute 'Default"

Hello there:) I am using the package SnowballStemmer and i am getting an Error. I am very glad for any kind of help :) Code: stem2 =[] for word in stem: if word not in nlp.Default.stop_words: stem2.append(word) print(stem2) Error…
user17456443
0
votes
1 answer

AWS ElasticSearch service - any stemmers I can use on it?

Trying to ensure plurality of the search queries using a type of english stemmer similar to snowball. Is there a standard aws one? Or do I need to install a plugin? I've tried below 2, getting the…
-1
votes
1 answer

Is there an easy and standard way to customize Lucene snowball stemmer?

I'm using Lucene 7.x and ItalianStemmer. I have seen the code of ItalianStemmer class and it seems to take long to be understood. So, I'm looking for a quick (possibly standard) way to customize italian stemmer, without extending ItalianStemmer or…
StackUser
  • 587
  • 6
  • 26