-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Enhancing the Turkish stop word list with additional common words #14549
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
lucene/analysis/common/src/resources/org/apache/lucene/analysis/tr/stopwords.txt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to know more around how the list came about and we need some evidence that the new list is better. I'm also unable to tell if the new words are reasonably considered stop words, but maybe a Turkish speaker could weigh in.
@@ -1,39 +1,80 @@ | |||
# Turkish stopwords from LUCENE-559 | |||
# merged with the list from "Information Retrieval on Turkish Texts" | |||
# (http://www.users.muohio.edu/canf/papers/JASIST2008offPrint.pdf) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should have something similar specifying how we sourced the list.
I had concerns earlier about malformed entries like
Can we give references to those studies? I am specifically wondering whether we should add all kinds of adverbs/zarf as stopwords as they can potentially provide context? (for example |
Description
This pull request proposes the addition of several frequently used Turkish stopwords to the stopwords.txt file. These words are commonly considered non-informative in NLP tasks and are consistent with standard Turkish stopword sets.
Words like şu, şöyle, şayet, and öz were added
Alphabetically sorted for consistency
Based on analysis of multiple Turkish NLP resources
This enhancement improves coverage and ensures better compatibility with text processing tasks involving Turkish.