コード例 #1
0
 public OxfordPhraseImpl(MicrosoftProjectOxford.RecognizedPhrase phrase, RecognizedPhraseKind kind)
     : base(phrase.LexicalForm)
 {
     Kind        = kind;
     Confidence  = phrase.Confidence;
     DisplayText = phrase.DisplayText;
     InverseTextNormalizationResult       = phrase.InverseTextNormalizationResult;
     MaskedInverseTextNormalizationResult = phrase.MaskedInverseTextNormalizationResult;
 }
コード例 #2
0
 public static IRecognizedPhrase CreateSuccess(MicrosoftProjectOxford.RecognizedPhrase phrase)
 {
     return(new OxfordPhraseImpl(phrase, RecognizedPhraseKind.Success));
 }
コード例 #3
0
 public static IRecognizedPhrase CreateIntermediate(MicrosoftProjectOxford.RecognizedPhrase phrase)
 {
     return(new OxfordPhraseImpl(phrase, RecognizedPhraseKind.Intermediate));
 }