public Create ( TokenStream input ) : TokenStream | ||
input | TokenStream | |
return | TokenStream |
public override TokenStream Create(TokenStream input)
{
// if the fst is null, it means there's actually no synonyms... just return the original stream
// as there is nothing to do here.
return map.fst == null ? input : new SynonymFilter(input, map, ignoreCase);
}