示例#1
0
		/// <summary>Construct filtering <i>in</i>. </summary>
		public StandardFilter(TokenStream in_Renamed) : base(in_Renamed)
		{
		}
示例#2
0
		public LowerCaseFilter(TokenStream in_Renamed) : base(in_Renamed)
		{
		}
示例#3
0
		/// <summary>Construct a token stream filtering the given input. </summary>
		protected internal TokenFilter(TokenStream input)
		{
			this.input = input;
		}
示例#4
0
		public PorterStemFilter(TokenStream in_Renamed) : base(in_Renamed)
		{
			stemmer = new PorterStemmer();
		}
示例#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));
		}
示例#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);
		}
示例#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));
 }
示例#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);
 }