You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2011/01/26 12:55:46 UTC

[jira] Closed: (LUCENE-1787) Standard Tokenizer doesn't recognise I.B.M as Acronym, it requires it ends with a dot i.e I.B.M.

     [ https://issues.apache.org/jira/browse/LUCENE-1787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Uwe Schindler closed LUCENE-1787.
---------------------------------

    Resolution: Won't Fix

The old StandardTokenizer behaviour was deprecated in Lucene 3.1 and replaced by a new one doing [Unicode Standard Annex #29|http://unicode.org/reports/tr29/] segmentation. The deprecated code will not get any fixes anymore.

> Standard Tokenizer doesn't recognise I.B.M as Acronym, it requires it ends with a dot i.e I.B.M.
> ------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-1787
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1787
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: contrib/analyzers
>    Affects Versions: 2.9
>            Reporter: Paul taylor
>         Attachments: LUCENE-1787.patch
>
>
> Standard Tokenzizer doesn't recognise I.B.M it requires it end with a dot i.e I.B.M. This is particulary problematic if I.B.M is added tot the index, with the StandardAnalyser it will get added as  IBM , a search for I.B.M will not match because I.B.M will be left as is, I would expect a match in this scenario
> I think it could be fixed by modifying the  grammar ACRONYM_DEP  in StandardTokenizerImpl.jflex so that it also supports
> {ALPHANUM} ("." {ALPHANUM})+
> dot only required between each character, (I'm not familiar with jflex syntax )

-- 
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org