Hi,

The StandardAnalyzer ctor accepts a list of stopwords.

:-)
Anders Lybecker

On Fri, Feb 24, 2012 at 11:00 AM, Christian Setzkorn
<[email protected]>wrote:

> Hi,
>
>
>
> I am using this code to break some words in a Text:
>
>
>
> stringReader = new StringReader(Text);
>
> tokenStream = StandardAnalyzer.TokenStream("defaultFieldName",
> stringReader); // removes standard stopwords too
>
> Lucene.Net.Analysis.Token token = tokenStream.Next();
>
>
>
> This works very well but it swallows up some critical/exceptional words. Is
> there an easy way to prevent it to swallow up words that start with d+ or
> v+. Thanks.
>
>
>
> Christian
>
>

Reply via email to