Microsoft

Text Analytics API

Welcome to the Text Analytics API Forum

Categories

API – Any ideas or feedback pertaining to features or enhancements to Text Analytics API.

Documentation – Any ideas or suggestions for the API Reference or Documentation.

Language Support – Submit a request to have a particular language supported.

Samples & SDK Request – Let us know if you would like to see a Code sample or SDK provided.

How can we improve Microsoft Cognitive Services?

(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can support and comment on it.

If it doesn't exist, you can post your idea so others can support it.

Enter your idea and we'll search to see if someone has already suggested it.

  1. SocketException: An existing connection was forcibly closed by the remote host

    Following the documentation to create my first TextAnalytics app in C# via this page: https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/quickstarts/csharp
    Followed the steps exactly and on this line:

    var result = client.DetectLanguageAsync(new BatchInput(
    new List<Input>()
    {
    new Input("1", "This is a document written in English."),
    new Input("2", "Este es un document escrito en Español."),
    new Input("3", "这是一个用中文写的文件")
    })).Result;

    I am getting this exception:

    System.AggregateException occurred
    HResult=0x80131500
    Message=One or more errors occurred.
    Source=<Cannot evaluate the exception source>
    StackTrace:
    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
    at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
    at System.Threading.Tasks.Task`1.get_Result()
    at ConsoleApp1.Program.Main(String[] args) in C:\Users\davidcr\Visual Studio Projects\TextAnalyticsSample\TextAnalyticsSample\Program.cs:line 84

    Inner Exception 1:
    HttpRequestException: An error occurred while sending the request.

    Inner…

    1 vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)

      We’ll send you updates on this idea

      0 comments  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
    • Service Accuracy

      It would be nice to have a page in the documentation that describe the API performance and accuracy.

      1 vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        Signed in as (Sign out)

        We’ll send you updates on this idea

        0 comments  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
      • What is the definition of transaction in Text Analytics API

        After several calls to Text Analytics API, I noticed that the amount of transactions > the amount of calls. So how is transaction defined?

        1 vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          Signed in as (Sign out)

          We’ll send you updates on this idea

          1 comment  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
        • We need more details on the score from Sentiment analysis

          The sentiment analysis score is descibed as "returns a numeric score between 0 and 1. Scores close to 1 indicate positive sentiment and scores close to 0 indicate negative sentiment. Sentiment score is generated using classification techniques. The input features of the classifier include n-grams, features generated from part-of-speech tags, and word embeddings."

          We need more information about the scoring. The text "I'm sorry, but you could do so much better." returns 0.58 but it is very negative. What can we do to ensure that we can trust the results? Would it be useful to use longer pieces of text?

          3 votes
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            Signed in as (Sign out)

            We’ll send you updates on this idea

            3 comments  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
          • Don't see your idea?

          Feedback and Knowledge Base