[Python] How to determine the language of a piece of text?

Discussão em 'Python' iniciado por Stack, Fevereiro 12, 2025.

  1. Stack

    Stack Membro Participativo

    I want to get this:

    Input text: "ру́сский язы́к"
    Output text: "Russian"

    Input text: "中文"
    Output text: "Chinese"

    Input text: "にほんご"
    Output text: "Japanese"

    Input text: "العَرَبِيَّة"
    Output text: "Arabic"


    How can I do it in python?

    Continue reading...

Compartilhe esta Página