示例#1
0
		/// <summary>Constructs a new WordIterator for the specified locale.</summary>
		/// <remarks>Constructs a new WordIterator for the specified locale.</remarks>
		/// <param name="locale">The locale to be used when analysing the text.</param>
		public WordIterator(System.Globalization.CultureInfo locale)
		{
			// Size of the window for the word iterator, should be greater than the longest word's length
			mIterator = java.text.BreakIterator.getWordInstance(locale);
		}
示例#2
0
 /// <summary>Constructs a new WordIterator for the specified locale.</summary>
 /// <remarks>Constructs a new WordIterator for the specified locale.</remarks>
 /// <param name="locale">The locale to be used when analysing the text.</param>
 public WordIterator(System.Globalization.CultureInfo locale)
 {
     // Size of the window for the word iterator, should be greater than the longest word's length
     mIterator = java.text.BreakIterator.getWordInstance(locale);
 }