[ https://issues.apache.org/jira/browse/LUCENE-1133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Grant Ingersoll updated LUCENE-1133: ------------------------------------ Attachment: LUCENE_1133_1137.patch Here's a patch that also includes LUCENE-1137 and sets a flag for the untokenized token when BOTH or UNTOKENIZED_ONLY is the output type. This patch is an alternative to the existing one and doesn't necessarily have to replace that one, it just demonstrates using 1137 for something fun. > WikipediaTokenizer needs a way of not tokenizing certain parts of the text > -------------------------------------------------------------------------- > > Key: LUCENE-1133 > URL: https://issues.apache.org/jira/browse/LUCENE-1133 > Project: Lucene - Java > Issue Type: Improvement > Components: contrib/wikipedia > Affects Versions: 2.3 > Reporter: Grant Ingersoll > Assignee: Grant Ingersoll > Priority: Minor > Attachments: LUCENE-1133.patch, LUCENE_1133_1137.patch > > > It would be nice if the WikipediaTokenizer had a way of, via a flag, leaving > categories, links, etc. as single tokens (or at least some parts of them) > Thus, if we came across [[Category:My Big Idea]] there would be a way of > outputting, as a single token "My Big Idea". > Optionally, it would be good to output both "My Big Idea" and the individual > tokens as well. > I am not sure of how to do this in JFlex, so any insight would be appreciated. -- 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]