public OxfordPhraseImpl(MicrosoftProjectOxford.RecognizedPhrase phrase, RecognizedPhraseKind kind)
     : base(phrase.LexicalForm)
 {
     Kind        = kind;
     Confidence  = phrase.Confidence;
     DisplayText = phrase.DisplayText;
     InverseTextNormalizationResult       = phrase.InverseTextNormalizationResult;
     MaskedInverseTextNormalizationResult = phrase.MaskedInverseTextNormalizationResult;
 }
 public static IRecognizedPhrase CreateSuccess(MicrosoftProjectOxford.RecognizedPhrase phrase)
 {
     return(new OxfordPhraseImpl(phrase, RecognizedPhraseKind.Success));
 }
 public static IRecognizedPhrase CreateIntermediate(MicrosoftProjectOxford.RecognizedPhrase phrase)
 {
     return(new OxfordPhraseImpl(phrase, RecognizedPhraseKind.Intermediate));
 }