You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Grant Ingersoll (JIRA)" <ji...@apache.org> on 2007/12/26 13:56:43 UTC
[jira] Created: (LUCENE-1100) StandardTokenizer incorrectly types
certain values
StandardTokenizer incorrectly types certain values
--------------------------------------------------
Key: LUCENE-1100
URL: https://issues.apache.org/jira/browse/LUCENE-1100
Project: Lucene - Java
Issue Type: Bug
Components: Analysis
Affects Versions: 2.2
Reporter: Grant Ingersoll
Priority: Minor
The StandardTokenizer incorrectly marks floating point values as <HOST>. See https://issues.apache.org/jira/browse/LUCENE-1068. There may be other things like this that are marked as incorrectly as well.
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Commented: (LUCENE-1100) StandardTokenizer incorrectly types
certain values
Posted by "Ronan KERDUDOU (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-1100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12839670#action_12839670 ]
Ronan KERDUDOU commented on LUCENE-1100:
----------------------------------------
when having in a text : "5.3.2-blàhblah" this is detected as a NUM... and "2.45" is detected as a HOST...
I think when there's a mix of alpha and num the '-' should be considered as a whitespace... and that a {NUMERIC}[.,]{NUMERIC} must be a NUM and not a HOST.
also something like "image.gif" shouldn't be a HOST...
I know it's very difficult to make this flex file perfect.
"TEST" and "2010" are ALPHANUM, I would prefer to distinguish a ALPHA and a NUMERIC instead of ALPHANUM...
"2,5" and "9-juin-2009" are NUM, i would prefer to distinguish NUM_DECIMAL and NUM_LIKE
i think sometimes we would have a better index if we could have 2 tokens with the same part of the file.
for exemple : "5.3.2-blàhblah" would make a token but another token "blàhblah" should be added.
maybe we should do it in the StandardTokenizer to complete the power of the flex file ?
> StandardTokenizer incorrectly types certain values
> --------------------------------------------------
>
> Key: LUCENE-1100
> URL: https://issues.apache.org/jira/browse/LUCENE-1100
> Project: Lucene - Java
> Issue Type: Bug
> Components: Analysis
> Affects Versions: 2.2
> Reporter: Grant Ingersoll
> Priority: Minor
>
> The StandardTokenizer incorrectly marks floating point values as <HOST>. See https://issues.apache.org/jira/browse/LUCENE-1068. There may be other things like this that are marked as incorrectly as well.
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org