[ 
https://issues.apache.org/jira/browse/LUCENE-1966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12763774#action_12763774
 ] 

Robert Muir commented on LUCENE-1966:
-------------------------------------

Basem, thanks for the patch, and the comments.

One thing I noticed: if I apply the patch, على (the stopword) will not be 
filtered as a stopword. This is because it will be normalized to علي (the name).

So, if we are going to normalize before stopfilter, I think we need to make 
sure the stopwords do not contain yeh without dots, or else these will not 
work. This is one example of why I was scared to apply normalization before 
stopwords, because by doing so, we cause على and علي to conflate.

Let me know what you think about this.


> Arabic Analyzer: Stopwords list needs enhancement
> -------------------------------------------------
>
>                 Key: LUCENE-1966
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1966
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: contrib/analyzers
>    Affects Versions: 2.9.1
>            Reporter: Basem Narmok
>            Assignee: Robert Muir
>            Priority: Trivial
>             Fix For: 2.9
>
>         Attachments: arabic-stopwords-comments.txt, LUCENE-1966.patch
>
>
> The provided Arabic stopwords list needs some enhancements (e.g. it contains 
> a lot of words that not stopwords, and some cleanup) . patch will be provided 
> with this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to