示例#1
0
 /// ------------------------------------------------------------------------------------
 /// <summary>
 /// Initializes a new instance of the <see cref="ProcessPunctationTokens"/> class.
 /// </summary>
 /// <param name="categorizer">The categorizer.</param>
 /// <param name="quotationCategorizer">The quotation categorizer.</param>
 /// <param name="level">Indicator to determine how much to combine contiguous
 /// punctuation sequences into patterns. Advanced = All contiguous punctuation and
 /// whitespace characters form a single pattern; Intermediate = Contiguous punctuation
 /// forms a single pattern (delimeted by whitespace); Basic = Each punctuation character
 /// stands alone. In all three modes, whitespace before and/or after a punctuation token
 /// indicates whether is is word-initial, word-medial, word-final, or isolated</param>
 /// ------------------------------------------------------------------------------------
 public ProcessPunctationTokens(CharacterCategorizer categorizer,
                                QuotationMarkCategorizer quotationCategorizer, CheckingLevel level)
 {
     m_categorizer          = categorizer;
     m_quotationCategorizer = quotationCategorizer;
     m_level = level;
 }
示例#2
0
		/// ------------------------------------------------------------------------------------
		/// <summary>
		/// Initializes a new instance of the <see cref="ProcessPunctationTokens"/> class.
		/// </summary>
		/// <param name="categorizer">The categorizer.</param>
		/// <param name="quotationCategorizer">The quotation categorizer.</param>
		/// <param name="level">Indicator to determine how much to combine contiguous
		/// punctuation sequences into patterns. Advanced = All contiguous punctuation and
		/// whitespace characters form a single pattern; Intermediate = Contiguous punctuation
		/// forms a single pattern (delimeted by whitespace); Basic = Each punctuation character
		/// stands alone. In all three modes, whitespace before and/or after a punctuation token
		/// indicates whether is is word-initial, word-medial, word-final, or isolated</param>
		/// ------------------------------------------------------------------------------------
		public ProcessPunctationTokens(CharacterCategorizer categorizer,
			QuotationMarkCategorizer quotationCategorizer, CheckingLevel level)
		{
			m_categorizer = categorizer;
			m_quotationCategorizer = quotationCategorizer;
			m_level = level;
		}