Click here to Skip to main content
       

ASP.NET

 
AnswerRe: fileupload control PinmvpSandeep Mewara15-Feb-13 10:09 
Questionhow to check the given string language weather it is marathi hindi or any other Pinmemberjalbaji13-Feb-13 8:57 
AnswerRe: how to check the given string language weather it is marathi hindi or any other PinmemberRichard Deeming13-Feb-13 9:44 
AnswerRe: how to check the given string language weather it is marathi hindi or any other PinmemberN a v a n e e t h13-Feb-13 19:14 
jalbaji wrote:
weather it is marathi hindi or any other
AFAIK, Marathi uses same script as Hindi. In that you can't easily tell which language is used.
 
Easier way to detect language if your text is written using Unicode is by checking the character range. If the character range is in between the range for Hindi, you can assume it is Hindi. But you need to scan till the end and if all the characters are in Hindi, the word is written in Hindi. Your algorithm should also consider zero-width joiner and non joiners (ZWJ & ZWNJ) while scanning the input. I have done an implementation of language detection. You can find code here[^]. It is written in C but the concepts are same for any language.
Best wishes,
Navaneeth

Questionvbscript question.. Pinmemberbuffering8313-Feb-13 0:48 
QuestionSelect only 1 checbox in a checkbox list Pinmemberberba12-Feb-13 23:21 
AnswerRe: Select only 1 checbox in a checkbox list PinmvpSandeep Mewara13-Feb-13 0:03 
AnswerRe: Select only 1 checbox in a checkbox list PinmemberShameel13-Feb-13 3:26 
Questionvbscript don't work in visual studio 2010? Pinmemberbuffering8312-Feb-13 21:42 
AnswerRe: vbscript don't work in visual studio 2010? PinmemberGarth J Lancaster12-Feb-13 21:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.141022.2 | Last Updated 26 Oct 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid