Análisis de texto

Detecte el sentimiento, frases clave, entidades con nombre y el idioma del texto

Extract information from your text. See it in action!

Use the demo below to experiment with the Text Analytics API. Use our example or provide your own text in the input box below. Identify language, sentiment, key phrases, and entities (preview) in your text.

  1. Texto analizado
  2. JSON
Idiomas: English (confiabilidad: 100 %)
Frases clave: place, online menu, great menu, marvelous food, midtown NYC, week, dinner party, Contoso Steakhouse, pre-order, John Doe, Sirloin steak, chief cook, owner, kitchen, spot, dining, complaint, email
Opinión:
Document
MIXED
86%
Positive
0%
Neutral
14%
Negative
Sentence 1
POSITIVE
99%
Positive
1%
Neutral
0%
Negative
Sentence 2
POSITIVE
100%
Positive
0%
Neutral
0%
Negative
Sentence 3
POSITIVE
100%
Positive
0%
Neutral
0%
Negative
Sentence 4
POSITIVE
100%
Positive
0%
Neutral
0%
Negative
Sentence 5
POSITIVE
100%
Positive
0%
Neutral
0%
Negative
Sentence 6
NEUTRAL
0%
Positive
100%
Neutral
0%
Negative
Sentence 7
NEGATIVE
0%
Positive
0%
Neutral
100%
Negative
Sentence 8
POSITIVE
100%
Positive
0%
Neutral
0%
Negative
Entidades con nombre: Contoso Steakhouse [Organization]
Steakhouse [Location]
midtown NYC [Location]
NYC [Location-GPE]
last week [DateTime-DateRange]
dinner party [Event]
chief cook [PersonType]
owner [PersonType]
John Doe [Person]
kitchen [Location]
www.contoso_steakhouse.com [URL]
312-555-0176 [PhoneNumber]
email [Skill]
PII Entities: Type: Organization
Value: Contoso Steakhouse

Type: Person
Value: John Doe

Type: URL
Value: www.contoso_steakhouse.com

Type: PhoneNumber
Value: 312-555-0176

Entidades vinculadas: We went to Contoso Steakhouse located at midtown NYC last week for a dinner party, and we adore the spot! They provide marvelous food and they have a great menu. The chief cook happens to be the owner (I think his name is John Doe) and he is super nice, coming out of the kitchen and greeted us all. We enjoyed very much dining in the place! The Sirloin steak I ordered was tender and juicy, and the place was impeccably clean. You can even pre-order from their online menu at www.contoso_steakhouse.com, call 312-555-0176 or send email to order@contoso_steakhouse.com! The only complaint I have is the food didn't come fast enough. Overall I highly recommend it!
{
  "languageDetection": {
    "documents": [
      {
        "id": "dbaa5b9d-8dfe-4c9f-86bc-da0ea2f7470b",
        "detectedLanguages": [
          {
            "name": "English",
            "iso6391Name": "en",
            "score": 1.0
          }
        ]
      }
    ],
    "errors": [],
    "modelversion": "2019-10-01"
  },
  "keyPhrases": {
    "documents": [
      {
        "id": "dbaa5b9d-8dfe-4c9f-86bc-da0ea2f7470b",
        "keyPhrases": [
          "place",
          "online menu",
          "great menu",
          "marvelous food",
          "midtown NYC",
          "week",
          "dinner party",
          "Contoso Steakhouse",
          "pre-order",
          "John Doe",
          "Sirloin steak",
          "chief cook",
          "owner",
          "kitchen",
          "spot",
          "dining",
          "complaint",
          "email"
        ]
      }
    ],
    "errors": [],
    "modelversion": "2019-10-01"
  },
  "sentiment": {
    "documents": [
      {
        "id": "dbaa5b9d-8dfe-4c9f-86bc-da0ea2f7470b",
        "sentiment": "mixed",
        "documentscores": {
          "positive": 0.86,
          "neutral": 0.0,
          "negative": 0.14
        },
        "sentences": [
          {
            "sentiment": "positive",
            "sentencescores": {
              "positive": 0.99,
              "neutral": 0.01,
              "negative": 0.0
            },
            "offset": 0,
            "length": 105
          },
          {
            "sentiment": "positive",
            "sentencescores": {
              "positive": 1.0,
              "neutral": 0.0,
              "negative": 0.0
            },
            "offset": 106,
            "length": 55
          },
          {
            "sentiment": "positive",
            "sentencescores": {
              "positive": 1.0,
              "neutral": 0.0,
              "negative": 0.0
            },
            "offset": 162,
            "length": 137
          },
          {
            "sentiment": "positive",
            "sentencescores": {
              "positive": 1.0,
              "neutral": 0.0,
              "negative": 0.0
            },
            "offset": 300,
            "length": 41
          },
          {
            "sentiment": "positive",
            "sentencescores": {
              "positive": 1.0,
              "neutral": 0.0,
              "negative": 0.0
            },
            "offset": 342,
            "length": 85
          },
          {
            "sentiment": "neutral",
            "sentencescores": {
              "positive": 0.0,
              "neutral": 1.0,
              "negative": 0.0
            },
            "offset": 428,
            "length": 141
          },
          {
            "sentiment": "negative",
            "sentencescores": {
              "positive": 0.0,
              "neutral": 0.0,
              "negative": 1.0
            },
            "offset": 570,
            "length": 62
          },
          {
            "sentiment": "positive",
            "sentencescores": {
              "positive": 1.0,
              "neutral": 0.0,
              "negative": 0.0
            },
            "offset": 633,
            "length": 30
          }
        ]
      }
    ],
    "errors": [],
    "modelversion": "2019-10-01"
  },
  "entities": {
    "documents": [
      {
        "id": "dbaa5b9d-8dfe-4c9f-86bc-da0ea2f7470b",
        "entities": [
          {
            "text": "Contoso Steakhouse",
            "type": "Organization",
            "subtype": null,
            "offset": 11,
            "length": 18,
            "score": 0.65
          },
          {
            "text": "Steakhouse",
            "type": "Location",
            "subtype": null,
            "offset": 19,
            "length": 10,
            "score": 0.33
          },
          {
            "text": "midtown NYC",
            "type": "Location",
            "subtype": null,
            "offset": 41,
            "length": 11,
            "score": 0.56
          },
          {
            "text": "NYC",
            "type": "Location",
            "subtype": "GPE",
            "offset": 49,
            "length": 3,
            "score": 0.9
          },
          {
            "text": "last week",
            "type": "DateTime",
            "subtype": "DateRange",
            "offset": 53,
            "length": 9,
            "score": 0.8
          },
          {
            "text": "dinner party",
            "type": "Event",
            "subtype": null,
            "offset": 69,
            "length": 12,
            "score": 0.52
          },
          {
            "text": "chief cook",
            "type": "PersonType",
            "subtype": null,
            "offset": 166,
            "length": 10,
            "score": 0.72
          },
          {
            "text": "owner",
            "type": "PersonType",
            "subtype": null,
            "offset": 195,
            "length": 5,
            "score": 0.78
          },
          {
            "text": "John Doe",
            "type": "Person",
            "subtype": null,
            "offset": 222,
            "length": 8,
            "score": 0.84
          },
          {
            "text": "kitchen",
            "type": "Location",
            "subtype": null,
            "offset": 272,
            "length": 7,
            "score": 0.68
          },
          {
            "text": "www.contoso_steakhouse.com",
            "type": "URL",
            "subtype": null,
            "offset": 477,
            "length": 26,
            "score": 0.8
          },
          {
            "text": "312-555-0176",
            "type": "PhoneNumber",
            "subtype": null,
            "offset": 510,
            "length": 12,
            "score": 0.8
          },
          {
            "text": "email",
            "type": "Skill",
            "subtype": null,
            "offset": 531,
            "length": 5,
            "score": 0.8
          }
        ]
      }
    ],
    "errors": [],
    "modelversion": "2020-02-01"
  },
  "entityLinking": {
    "documents": [
      {
        "id": "dbaa5b9d-8dfe-4c9f-86bc-da0ea2f7470b",
        "entities": [
          {
            "name": "Sirloin steak",
            "matches": [
              {
                "text": "Sirloin steak",
                "offset": 346,
                "length": 13,
                "score": 0.587581248582304
              }
            ],
            "language": "en",
            "id": "Sirloin steak",
            "url": "https://en.wikipedia.org/wiki/Sirloin_steak",
            "datasource": "Wikipedia"
          },
          {
            "name": "Steakhouse",
            "matches": [
              {
                "text": "Steakhouse",
                "offset": 19,
                "length": 10,
                "score": 0.690180109345877
              }
            ],
            "language": "en",
            "id": "Steakhouse",
            "url": "https://en.wikipedia.org/wiki/Steakhouse",
            "datasource": "Wikipedia"
          },
          {
            "name": "John Doe",
            "matches": [
              {
                "text": "John Doe",
                "offset": 222,
                "length": 8,
                "score": 0.0014322986345076671
              }
            ],
            "language": "en",
            "id": "John Doe",
            "url": "https://en.wikipedia.org/wiki/John_Doe",
            "datasource": "Wikipedia"
          },
          {
            "name": "Contoso",
            "matches": [
              {
                "text": "Contoso",
                "offset": 11,
                "length": 7,
                "score": 0.60043485187820367
              }
            ],
            "language": "en",
            "id": "Contoso",
            "url": "https://en.wikipedia.org/wiki/Contoso",
            "datasource": "Wikipedia"
          },
          {
            "name": "New York City",
            "matches": [
              {
                "text": "NYC",
                "offset": 49,
                "length": 3,
                "score": 0.33013566281980689
              }
            ],
            "language": "en",
            "id": "New York City",
            "url": "https://en.wikipedia.org/wiki/New_York_City",
            "datasource": "Wikipedia"
          }
        ]
      }
    ],
    "errors": [],
    "modelversion": "2020-02-01"
  },
  "entityPII": {
    "documents": [
      {
        "id": "dbaa5b9d-8dfe-4c9f-86bc-da0ea2f7470b",
        "entities": [
          {
            "text": "Contoso Steakhouse",
            "type": "Organization",
            "subtype": null,
            "offset": 11,
            "length": "18",
            "score": 0.65
          },
          {
            "text": "John Doe",
            "type": "Person",
            "subtype": null,
            "offset": 222,
            "length": "8",
            "score": 0.84
          },
          {
            "text": "www.contoso_steakhouse.com",
            "type": "URL",
            "subtype": null,
            "offset": 477,
            "length": "26",
            "score": 0.8
          },
          {
            "text": "312-555-0176",
            "type": "PhoneNumber",
            "subtype": null,
            "offset": 510,
            "length": "12",
            "score": 0.8
          }
        ]
      }
    ],
    "errors": [],
    "modelversion": "2020-02-01"
  }
}

Análisis de opiniones

La API devuelve una puntuación numérica entre 0 y 1. Las puntuaciones próximas a 1 indican una opinión positiva y las puntuaciones próximas a 0 indican una opinión negativa. La puntuación de opinión se genera con el uso de técnicas de clasificación. Las características de entrada del clasificador incluyen n-gramas, características generadas a partir de etiquetas de sintaxis e inserción de palabras. Es compatible con diferentes idiomas.

Más información

Extracción de frases clave

The API returns a list of strings denoting the key talking points in the input text. We employ techniques from Microsoft Office's sophisticated Natural Language Processing toolkit. English, German, Spanish, and Japanese text are supported.

Más información

Detección de idioma

La API devuelve el idioma detectado y una puntuación numérica entre 0 y 1. Las puntuaciones próximas a 1 indican con total certeza que el idioma identificado es el correcto. Se admiten 120 idiomas en total.

Más información

Reconocimiento de entidades con nombre

Detecte todas las entidades con nombre en el texto, como organizaciones, personas y lugares, entre otras muchas. La vinculación de entidades elimina la ambigüedad entre entidades distintas asociando el texto con información adicional de la Web. Por ejemplo, utilícela para determinar si un término como “times” se refiere a “The New York Times” o “Times Square”.

Más información

Prism Skylabs

"We found Cognitive Services to be the missing piece in the equation, the one that we needed to bring this solution to market and really revolutionize the way people look at video."

Katie McCann: vicepresidenta de productos e ingeniería | Prism Skylabs

Vea las API de Cognitive Services

Computer Vision

Condense información de aplicación práctica a partir de imágenes.

Face

Detecte, identifique, analice, organice y etiquete caras en las fotos

Ink Recognizer

Servicio de inteligencia artificial que reconoce contenido de lápiz digital, como escritura manual, formas y el diseño de documentos en tinta digital

Video Indexer

Obtenga conocimiento de sus vídeos

Custom Vision

Personalice fácilmente los novedosos modelos de visión artificial para adaptarlos a su caso particular

Form Recognizer

Servicio de extracción de documentos basado en inteligencia artificial que reconoce sus formularios

Análisis de texto

Evaluar fácilmente las opiniones y temas para comprender lo que los usuarios quieren

Translator Text

Realice fácilmente una traducción automática con una llamada a la API de REST sencilla

QnA Maker

Convierta la información en respuestas de conversación de fácil navegación

Language Understanding

Enseñe a las aplicaciones a entender los comandos de sus usuarios

Immersive Reader

Dé capacidad para leer y comprender textos a usuarios de todas las edades y capacidades

Servicios de voz

Servicios de voz unificados para la conversión de voz en texto y de texto en voz, y para la traducción de voz.

Speaker Recognition

Use la voz para la identificación y verificación de hablantes individuales

Traducción de voz

Integre fácilmente traducción de voz en tiempo real en sus aplicaciones

Conversión de voz en texto

Convierta audio hablado en texto para lograr interacciones más naturales.

Text to Speech

Convierta texto en voz para crear interfaces más naturales y accesibles

Content Moderator

Moderación automatizada de imágenes, texto y vídeo

Anomaly Detector

Agregue funcionalidades de detección de anomalías a sus aplicaciones con facilidad.

Personalizer

Servicio de inteligencia artificial que ofrece una experiencia del usuario personalizada

¿Preparado para aumentar el potencial de su aplicación?