Exemplo n.º 1
0
		/// <summary>Construct filtering <i>in</i>. </summary>
		public StandardFilter(TokenStream in_Renamed) : base(in_Renamed)
		{
		}
Exemplo n.º 2
0
		public LowerCaseFilter(TokenStream in_Renamed) : base(in_Renamed)
		{
		}
Exemplo n.º 3
0
		/// <summary>Construct a token stream filtering the given input. </summary>
		protected internal TokenFilter(TokenStream input)
		{
			this.input = input;
		}
Exemplo n.º 4
0
		public PorterStemFilter(TokenStream in_Renamed) : base(in_Renamed)
		{
			stemmer = new PorterStemmer();
		}
Exemplo n.º 5
0
		/// <summary> Constructs a filter which removes words from the input
		/// TokenStream that are named in the Hashtable.
		/// 
		/// </summary>
		/// <deprecated> Use {@link #StopFilter(TokenStream, Set)} instead
		/// </deprecated>
		public StopFilter(TokenStream in_Renamed, System.Collections.Hashtable stopTable) : base(in_Renamed)
		{
			stopWords = new System.Collections.Hashtable(new System.Collections.Hashtable(stopTable));
		}
Exemplo n.º 6
0
		/// <summary> Constructs a filter which removes words from the input
		/// TokenStream that are named in the array of words.
		/// </summary>
		public StopFilter(TokenStream in_Renamed, System.String[] stopWords) : base(in_Renamed)
		{
			this.stopWords = MakeStopSet(stopWords);
		}
Exemplo n.º 7
0
 /// <summary> Constructs a filter which removes words from the input
 /// TokenStream that are named in the Hashtable.
 ///
 /// </summary>
 /// <deprecated> Use {@link #StopFilter(TokenStream, Set)} instead
 /// </deprecated>
 public StopFilter(TokenStream in_Renamed, System.Collections.Hashtable stopTable) : base(in_Renamed)
 {
     stopWords = new System.Collections.Hashtable(new System.Collections.Hashtable(stopTable));
 }
Exemplo n.º 8
0
 /// <summary> Constructs a filter which removes words from the input
 /// TokenStream that are named in the array of words.
 /// </summary>
 public StopFilter(TokenStream in_Renamed, System.String[] stopWords) : base(in_Renamed)
 {
     this.stopWords = MakeStopSet(stopWords);
 }