On Thu, 2015-05-14 at 14:00 +0000, Vishnu vishnu(_at_)innodata(_dot_)com 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(_at_)gmail(_dot_)com[mailto:
xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com]
Sent: Tuesday, May 12, 2015 2:53 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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(_dot_)laun(_at_)gmail(_dot_)com<mailto:wolfgang(_dot_)laun(_at_)gmail(_dot_)com>
<
xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com<mailto:
xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com>> 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(_dot_)singh4(_at_)gmail(_dot_)com<mailto:
svishnu(_dot_)singh4(_at_)gmail(_dot_)com>
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com<mailto:
xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com>> 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."
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--