Skip to content

Instantly share code, notes, and snippets.

@czj
Created May 9, 2023 16:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save czj/a0110c0f1f127516f2ec7fdf08b1c48b to your computer and use it in GitHub Desktop.
Save czj/a0110c0f1f127516f2ec7fdf08b1c48b to your computer and use it in GitHub Desktop.
ChatGPT / LLM language detection prompt that does not work well at all
Different languages use different writing systems, such as the Latin alphabet, Cyrillic script, or Arabic script.
Examining the characters used in the text can provide clues about the language.
Identifying common words and phrases in the text can help narrow down the language.
Analyzing the patterns of grammar used in the text can help identify the language.
Languages have distinct grammar rules, including sentence structure, verb conjugation, and noun declension.
The way words are arranged in a sentence can also provide clues about the language.
By examining these and other linguistic features of a text, it is possible to make an educated guess about the language in which it is written.
Deducing the language of a text involves analyzing various linguistic features of the text and comparing them to patterns and characteristics of different languages. Seeing the name of a language inside the text does not automatically mean it is the language of the text.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment