Analisi del testo con modelli predefiniti

Utilizzare i modelli pre-addestrati per analizzare il testo e recuperare i risultati utilizzando il servizio Lingua.

    1. Aprire il menu di navigazione e selezionare Analytics e AI. In Servizi AI, selezionare Lingua.
    2. Nel menu di navigazione a sinistra fare clic su Analytics del testo.
    3. Selezionare la lingua del testo da analizzare.
    4. Fornire il testo nella finestra di dialogo.
    5. Fare clic su Analizza.

    I risultati vengono visualizzati con testo e punteggi grafici pertinenti e sono nell'ordine dei modelli pre-addestrati. È possibile espandere i singoli risultati con le frecce.

    Fare clic su Mostra JSON per visualizzare, Copia e Scarica i singoli risultati. È possibile utilizzare Mostra risultati standard per tornare alla vista predefinita.

    È possibile reimpostare la pagina facendo clic su Reimposta.

  • Utilizzare i comandi seguenti per analizzare il testo:

    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]
    

    Esempi:

    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."}]'
    

    Per un elenco completo dei flag e delle opzioni variabili per i comandi CLI, consultare il manuale CLI Command Reference.