lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Rowe (JIRA)" <>
Subject [jira] Commented: (LUCENE-2745) ArabicAnalyzer - the ability to recognise email addresses host names and so on
Date Sun, 07 Nov 2010 16:18:06 GMT


Steven Rowe commented on LUCENE-2745:

I think that ArabicLetterTokenizer, which is the tokenizer used by ArabicAnalyzer, is obsolete
(as of version 3.1), since StandardTokenizer, which implements the Unicode word segmentation
rules from UAX#29, should be able to properly tokenize Arabic.  StandardTokenizer recognizes
email addresses, hostnames, and URLs, so your concern would be addressed.  (See LUCENE-2167,
though, which was just reopened to turn off full URL output.)

You can test this by composing your own analyzer, if you're willing to try using using as-yet-unreleased
branch_3X, from which 3.1 will be cut (hopefully fairly soon): just copy ArabicAnalyzer class
and swap in StandardTokenizer for ArabicLetterTokenizer

> ArabicAnalyzer - the ability to recognise email addresses host names and so on
> ------------------------------------------------------------------------------
>                 Key: LUCENE-2745
>                 URL:
>             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,
> will be tokenised to [adam] [hotmail] [com]
> It would be great if the ArabicAnalyzer can tokenises this to []. The
same applies to hostnames and so on.
> Can this be resolved? I hope so
> Thanks

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:
For additional commands, e-mail:

View raw message