[ https://issues.apache.org/jira/browse/LUCENE-1133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559126#action_12559126 ]
Otis Gospodnetic commented on LUCENE-1133: ------------------------------------------ I'd actually love the option to skip that stuff all together. The last time I checked one Wikipedia dump (Croatian, not English), text/pointers in angle bracket was really junk, at lest for my purposes of getting a representative list of tokens and types for a language. > 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 > Priority: Minor > > 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]