Khoa --

If you are trying to detect the language of a single word, such as "an",
then you are bound to have problems.  The longer the sentence, the more
accurate language detection works.  If you are trying to just see if a
phrase is Vietnamese, use:
google.language.detect(text, callback)

And check if the output is Vietnamese.

-Ben

On Wed, Aug 27, 2008 at 3:37 AM, Khoa <[EMAIL PROTECTED]> wrote:

>
> Is there any way to detect whether a text is a specific language or
> not?
> I think in some cases, a word can be used in many languages.
>
> For example:
> I try to detect the word "an". The detection script show that it is
> GERMAN, but it also has meaning in Vietnamese and English as well.
>
> Therefore, I only want to know whether the text is Vietnamese or not.
> I don't want to know what language is it.
>
> Is it possible?
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google AJAX API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-AJAX-Search-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to