Análisis de Texto con Modelos Preentrenados
Utilice los modelos previamente entrenados para analizar el texto y recuperar los resultados mediante el servicio Language.
- Abra el menú de navegación y seleccione Analytics & AI. En Servicios de IA, seleccione Idioma.
- En el menú de navegación de la izquierda, haga clic en Análisis de texto.
- Seleccione el idioma del texto que desea analizar.
- Proporcione el texto en el cuadro de diálogo.
- Haga clic en Analizar.
Los resultados se muestran con puntuaciones gráficas y texto relevante y se encuentran en el orden de los modelos previamente entrenados. Puede ampliar los resultados individuales con las flechas.
Haga clic en Mostrar JSON para ver, copiar y descargar los resultados individuales. Puede utilizar Mostrar resultados estándar para devolver a la vista por defecto.
Puede restablecer la página haciendo clic en Rtablecer.
Utilice los siguientes comandos para analizar texto:
oci ai language batch-detect-language --documents [<list-of-filenames>] ... [OPTIONS] oci ai language batch-detect-entities --endpoint-id <endpoint-id> --documents [<list-of-filenames>] ... [OPTIONS] oci ai language batch-detect-key-phrases --documents [<list-of-filenames>] ... [OPTIONS] oci ai language batch-detect-sentiments --documents [<list-of-filenames>] ... [OPTIONS] oci ai language batch-detect-pii-entities --documents [<list-of-filenames>] ... [OPTIONS] oci ai language batch-detect-text-classification --endpoint-id <endpoint-id> --documents [<list-of-filenames>] ... [OPTIONS]Ejemplos:
oci ai language batch-detect-language --documents '[{"key": "1", "text": "hello world"}]'oci ai language batch-detect-entities --endpoint-id ailanguageendpoint1677089208435 --documents '[{"key": "1","languageCode": "en","text": "Lawrence Joseph Ellison (born August 17, 1944) is an American business magnate and investor who is the co-founder, executive chairman, chief technology officer (CTO) and former chief executive officer (CEO) of the American computer technology company Oracle Corporation."}]'oci ai language batch-detect-key-phrases --documents '[{"key": "1","languageCode": "en","text": "Lawrence Joseph Ellison (born August 17, 1944) is an American business magnate and investor who is the co-founder, executive chairman, chief technology officer (CTO) and former chief executive officer (CEO) of the American computer technology company Oracle Corporation."}]'oci ai language batch-detect-sentiments --level ASPECT --level SENTENCE --documents '[{"key": "1","languageCode": "en","text": "OCI Language offers state of the art models for analyzing the text at scale with easy to use APIs and SDKs"}]'oci ai language batch-detect-pii-entities --masking '{"mode": "REPLACE"}' --documents '[{"key": "1","languageCode": "en","text": "Lawrence Joseph Ellison (born August 17, 1944) is an American business magnate and investor who is the co-founder, executive chairman, chief technology officer (CTO) and former chief executive officer (CEO) of the American computer technology company Oracle Corporation."}]'oci ai language batch-detect-text-classification --documents '[{"key": "1","languageCode": "en","text": "Lawrence Joseph Ellison (born August 17, 1944) is an American business magnate and investor who is the co-founder, executive chairman, chief technology officer (CTO) and former chief executive officer (CEO) of the American computer technology company Oracle Corporation."}]'Para obtener una lista completa de los indicadores y las opciones de variables para los comandos de la CLI, consulte la Referencia de comandos de la CLI.
Ejecute las siguientes operaciones para analizar o traducir texto: