/// <summary>
 /// Constructs a transliterator.
 /// </summary>
 public CaseFoldTransliterator()
     : base(_ID, null)
 {
     csp    = UCaseProperties.Instance;
     iter   = new ReplaceableContextEnumerator();
     result = new StringBuilder();
 }
Exemple #2
0
 /// <summary>
 /// Constructs a transliterator.
 /// </summary>
 public UppercaseTransliterator(ULocale loc)
     : base(_ID, null)
 {
     locale     = loc;
     csp        = UCaseProperties.Instance;
     iter       = new ReplaceableContextEnumerator();
     result     = new StringBuilder();
     caseLocale = UCaseProperties.GetCaseLocale(locale);
 }
Exemple #3
0
 /// <summary>
 /// Constructs a transliterator.
 /// </summary>
 public TitlecaseTransliterator(ULocale loc)
     : base(_ID, null)
 {
     locale = loc;
     // Need to look back 2 characters in the case of "can't"
     MaximumContextLength = 2;
     csp        = UCaseProperties.Instance;
     iter       = new ReplaceableContextEnumerator();
     result     = new StringBuilder();
     caseLocale = UCaseProperties.GetCaseLocale(locale);
 }