lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-2745) ArabicAnalyzer - the ability to recognise email addresses host names and so on
Date Sun, 07 Nov 2010 16:36:08 GMT

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

Robert Muir commented on LUCENE-2745:
-------------------------------------

I agree with what Steven said here... since previously StandardTokenizer would break on diacritics
(shadda, etc)
it wasn't appropriate for arabic writing systems, so we added ArabicLetterTokenizer as a workaround.

but you can use a different tokenizer in your own Analyzer to meet your needs... and we should
try to avoid 
(deprecate+remove) language-specific tokenizers if we can.

the only trick to deprecating this ArabicLetterTokenizer is the persian case, since i dont
think UAX#29 will split on
zero-width-non-joiner, so we need to do something to handle that case, otherwise we can default
to a better tokenizer here.


> ArabicAnalyzer - the ability to recognise email addresses host names and so on
> ------------------------------------------------------------------------------
>
>                 Key: LUCENE-2745
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2745
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: contrib/analyzers
>    Affects Versions: 2.9.2, 2.9.3, 3.0, 3.0.1, 3.0.2
>         Environment: All
>            Reporter: M Alexander
>
> The ArabicAnalyzer does not recognise email addresses, hostnames and so on. For example,
> adam@hotmail.com
> will be tokenised to [adam] [hotmail] [com]
> It would be great if the ArabicAnalyzer can tokenises this to [adam@hotmail.com]. The
same applies to hostnames and so on.
> Can this be resolved? I hope so
> Thanks
> MAA

-- 
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


Mime
View raw message