Jump to content

how to determine the language


hno

Recommended Posts

If you don't want to use the Google API, it should still be fairly simple. All you have to do is compile a dataset of the most commonly used couple of thousand words from each of all known languages, then write an algorithm to compare the words in the string you have against those words, calculating the number of hits against each language. Then based on a weighted average, along with some in-depth statistical analysis, it should be able to relatively reliably determine the language of the string in question. Let us know if you get stuck Nevermind.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.