Exemplo n.º 1
0
 /// <summary>
 /// Creates a new <see cref="TokenStreamComponents"/> instance.
 /// </summary>
 /// <param name="source">
 ///          the analyzer's tokenizer </param>
 public TokenStreamComponents(Tokenizer source)
 {
     this.m_source = source;
     this.m_sink   = source;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new <see cref="CachingTokenFilter"/> around <paramref name="input"/>,
 /// caching its token attributes, which can be replayed again
 /// after a call to <see cref="Reset()"/>.
 /// </summary>
 public CachingTokenFilter(TokenStream input)
     : base(input)
 {
 }
Exemplo n.º 3
0
 /// <summary>
 /// Creates a new <see cref="TokenStreamComponents"/> instance.
 /// </summary>
 /// <param name="source">
 ///          the analyzer's tokenizer </param>
 /// <param name="result">
 ///          the analyzer's resulting token stream </param>
 public TokenStreamComponents(Tokenizer source, TokenStream result)
 {
     this.m_source = source;
     this.m_sink   = result;
 }