Пример #1
0
 private static Response <ExtractKeyPhrasesResultCollection> CreateKeyPhraseResponse(Response response) =>
 Response.FromValue(TextAnalyticsServiceSerializer.DeserializeKeyPhraseResponse(response.ContentStream), response);
 private static Response <ExtractKeyPhrasesResultCollection> CreateKeyPhraseResponse(Response response, IDictionary <string, int> idToIndexMap) =>
 Response.FromValue(TextAnalyticsServiceSerializer.DeserializeKeyPhraseResponse(response.ContentStream, idToIndexMap), response);
Пример #3
0
 private static Response <DocumentResultCollection <string> > CreateKeyPhraseResponse(Response response) =>
 Response.FromValue(TextAnalyticsServiceSerializer.DeserializeKeyPhraseResponse(response.ContentStream), response);