Lucene.Net.Analysis.TestStandardAnalyzer.TestApostrophes C# (CSharp) Method

TestApostrophes() private method

private TestApostrophes ( ) : void
return void
		public virtual void  TestApostrophes()
		{
			// internal apostrophes: O'Reilly, you're, O'Reilly's
			// possessives are actually removed by StardardFilter, not the tokenizer
			AssertAnalyzesTo(a, "O'Reilly", new System.String[]{"o'reilly"});
			AssertAnalyzesTo(a, "you're", new System.String[]{"you're"});
			AssertAnalyzesTo(a, "she's", new System.String[]{"she"});
			AssertAnalyzesTo(a, "Jim's", new System.String[]{"jim"});
			AssertAnalyzesTo(a, "don't", new System.String[]{"don't"});
			AssertAnalyzesTo(a, "O'Reilly's", new System.String[]{"o'reilly"});
		}