Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8805441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T01:52:01+00:00 2026-06-14T01:52:01+00:00

(this is NOT duplicate of How to detect the language of a string? )

  • 0

(this is NOT duplicate of How to detect the language of a string?)

I need to be able to determinate the alphabet of given string (single word) by the language/alphabet specific characters.
For example, if the string contains:

  • ‘Ü’ it should be recognized as German,
  • ‘ش’ as Arabic,
  • ‘Φ’ as Greek and etc

I’m looking for list of alphabet-specific characters listed by language/alphabet. As is single non-dictionary word using GoogleTranslate API or other dictionary based solutions won’t work

(Although the question isn’t programming language specific, the actual code is written in C#)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T01:52:03+00:00Added an answer on June 14, 2026 at 1:52 am

    You could start with the unicode name of each character. For example (in Python):

    >>> import unicodedata
    >>> unicodedata.name(u'Φ')
    'GREEK CAPITAL LETTER PHI'
    >>> unicodedata.name(u'ش')
    'ARABIC LETTER SHEEN'
    >>> unicodedata.name(u'Ü')
    'LATIN CAPITAL LETTER U WITH DIAERESIS'
    

    You might have to special-case the Latin characters, since Unicode doesn’t assign them to particular language-specific alphabets. Most of them appear in several languages that use Latin-based alphabets, but if you’re somehow confident that your data will contain Ü only if it is German, then you can identify that character as German for your purposes. There are only a few dozen Latin characters to worry about.

    Similarly, loads of languages use the Unicode CYRILLIC letters, and so in most cases their presence doesn’t tell you the language. Some are described by Unicode as belonging to particular languages. CYRILLIC SMALL LETTER YI has the note “Ukranian” in http://www.unicode.org/charts/PDF/U0400.pdf. I don’t know whether or not those notes are exhaustive, i.e. whether or not Ukranian is the only language that uses that character. And I’m certain that there are plenty of Ukranian words that don’t have that character in them. Fundamentally you cannot distinguish Ukranian words from Russian words solely by the presence or absence of Ukranian-specific letters.

    I expect the same is true of other alphabets in Unicode. If you’re really lucky you might find a Unicode database that includes any such notes on each character, so you can mine it for mention of particular languages.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

First off, this is NOT a duplicate of: Turn a C string with NULL
I am sorry if this is a duplicate but I was not able to
This is not a duplicate post, i just done research but not helping. First,
This is NOT a duplicate question, and the problem is driving me crazy. I
Nota: this is not a duplicate of Translating PHP date() for Multilingual Site .
Note, this is not a duplicate of .prop() vs .attr() ; that question refers
I hope this question is not a duplicate but I didn't find anything equivalent
Possible Duplicate: Comparing Strings in Cocoa Why is this code not recognising the NSString
Please do not flag this as a duplicate, I'm not asking about what is
Possible Duplicate: Why does this intentionally incorrect use of strcpy not fail horribly? Below

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.