[
https://issues.apache.org/jira/browse/LUCENE-889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12499193
]
Hoss Man commented on LUCENE-889:
---------------------------------
> In order to get the punctuation, one needs to use a plain StandardTokenizer.
I believe that is Erik's point. StandardTokenizer is a public class that many
people use directly (specifically: every one who has ever posted a question
about changing the behavior of StandardAnalyzer and been given the stock answer
"write your own Analyzer that uses the same Tokenizer and change/adds the list
of TokenFilters.
> Standard tokenizer with punctuation output
> ------------------------------------------
>
> Key: LUCENE-889
> URL: https://issues.apache.org/jira/browse/LUCENE-889
> Project: Lucene - Java
> Issue Type: Improvement
> Affects Versions: 2.1
> Reporter: Karl Wettin
> Priority: Trivial
> Attachments: standard.patch, test.patch
>
>
> This patch adds punctuation (comma, period, question mark and exclamation
> point) tokens as output from the StandardTokenizer, and filters them out in
> the StandardFilter.
> (I needed them for text classification reasons.)
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]