[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] How to Detect string language using XSLT


Subject: Re: [xsl] How to Detect string language using XSLT
From: "Dimitre Novatchev dnovatchev@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 14 May 2015 16:24:35 -0000

If someone listens to the talks in my family, they are going to
discover a new language: Bulgarian-English, where we talk in Bulgarian
and sometimes use  better-suited English words, and if these happen to
be verbs, we typically append them with a corresponding Bulgarian verb
suffix to precisely denote tense/voice/person/gender/plurality :)

I don't think this has ever been described in a scientific paper yet,
and I suspect that such hybrid languages are typical in most immigrant
families.

Cheers,
Dimitre

On Thu, May 14, 2015 at 9:05 AM, Liam R. E. Quin liam@xxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> On Thu, 2015-05-14 at 14:00 +0000, Vishnu vishnu@xxxxxxxxxxxx wrote:
>> Hi Arvind,
>>
>> Thank you for help.
>>
>> Actually I have some articles for which the language information not
>> provided in the input article. Now I want to identify the language
>> by the article title.
>
> Google Translate may help you but it's far from perfect.
> Differentiating between, say, Indic languages that use the Devanagari
> script (e.g. Hindi, Sanskrit) seems beyond it. It can usually
> distinguish between Italian and German, but not always between
> Portugese and Spanish. Humans can't always ell either. For very short
> passages it's even possible to confuse English and French.
>
> Looking at the first few paragraphs of the article will probably give
> much better results.
>
> Liam
>
>>
>> For this, I have used some java API to detect the language. But it
>> is not giving me the 100% result.
>>
>> Thanks,
>> Vishnu
>>
>> From: Arvind Kumar  akmishra848@xxxxxxxxx[mailto:
>> xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx]
>> Sent: Tuesday, May 12, 2015 2:53 PM
>> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
>> Subject: Re: [xsl] How to Detect string language using XSLT
>>
>> Hi Vishnu,
>>
>> Could you please provide the more details about the issue you have?
>>
>> Regards,
>> Arvind Kr.
>>
>> On Tue, May 12, 2015 at 1:35 PM, Wolfgang Laun
>> wolfgang.laun@xxxxxxxxx<mailto:wolfgang.laun@xxxxxxxxx> <
>> xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx<mailto:
>> xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>> wrote:
>> Why don't you post a sample of the input and the expected output?
>> -W
>>
>> On 12 May 2015 at 08:53, VISH RAJPUT svishnu.singh4@xxxxxxxxx<mailto:
>> svishnu.singh4@xxxxxxxxx> <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx<mailto:
>> xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>> wrote:
>> Hi,
>>
>> Is it possible using XSLT to pass text string and the 3 digit
>> language code of that text?
>>
>>
>>
>> --
>> Vishnu Singh
>> XSL-List info and archive< http://www.mulberrytech.com/xsl/xsl-list>EasyUnsubscribe<
>>  http://-list/528976>(by email)
>>
>> XSL-List info and archive< http://www.mulberrytech.com/xsl/xsl-list>
>> EasyUnsubscribe<-list/645256> (by email)
>>
>> XSL-List info and archive< http://www.mulberrytech.com/xsl/xsl-list>
>> EasyUnsubscribe<-list/778978> (by email<>)
>> "This e-mail and any attachments transmitted with it are for the
>> sole use of the intended recipient(s) and may contain confidential ,
>> proprietary or privileged information. If you are not the intended
>> recipient, please contact the sender by reply e-mail and destroy all
>> copies of the original message. Any unauthorized review, use,
>> disclosure, dissemination, forwarding, printing or copying of this e-
>> mail or any action taken in reliance on this e-mail is strictly
>> prohibited and may be unlawful."
>>
> 



-- 
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
Never fight an inanimate object
-------------------------------------
To avoid situations in which you might make mistakes may be the
biggest mistake of all
------------------------------------
Quality means doing it right when no one is looking.
-------------------------------------
You've achieved success in your field when you don't know whether what
you're doing is work or play
-------------------------------------
To achieve the impossible dream, try going to sleep.
-------------------------------------
Facts do not cease to exist because they are ignored.
-------------------------------------
Typing monkeys will write all Shakespeare's works in 200yrs.Will they
write all patents, too? :)
-------------------------------------
I finally figured out the only reason to be alive is to enjoy it.


Current Thread
Keywords