apache / apache/lucenenet

Replace Spanish suffixes by Portuguese suffixes in the Portuguese snowball stemmer

Open
#277 2 comments 0 reactions 0 assignees View on GitHub
pri:low
Dominant language
C#
Stars
2.4k
Forks
658
Avg merge
3d 5h
Merged PRs (30d)
9

Description

On PortugueseStemmer.cs[1], there are a few suffixes in the PortugueseStemmer which I believe were copied by mistake from SpanishStemmer[2]:


  • "log\u00EDas" should be "logias" (line 137)

  • "log\u00EDa" should be "logia" (line 113)

  • "uciones" should be "uções" (line 139)

  • "uci\u00F3n" should be "ução" (line 120)

For more details, see the original report on nltk project:

https://github.com/nltk/nltk/issues/754

[1] https://github.com/apache/lucene.net/blob/master/src/contrib/Snowball/SF/Snowball/Ext/PortugueseStemmer.cs

[2] https://github.com/apache/lucene.net/blob/master/src/contrib/Snowball/SF/Snowball/Ext/SpanishStemmer.cs


JIRA link - [LUCENENET-547] created by he7d3r

Contributor guide

Open the contributing guide

Research direction

Open PortugueseStemmer.cs and compare the listed suffixes with the corresponding entries in SpanishStemmer.cs. Replace the four specified Spanish forms with their Portuguese forms, then verify that the Portuguese suffix tables contain the requested spellings and no unintended changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
search
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.