0

Does Content Analysis support Chinese?

I tried the following statement but it didn't work:

select * from contentanalysis.analyze where text='這是一句中文';

Result:
<?xml version="1.0" encoding="UTF-8"?>
<query xmlns:yahoo="http://www.yahooapis.com/v1/base.rng"
    yahoo:count="0" yahoo:created="2012-09-15T16:52:59Z" yahoo:lang="en-US">
    <diagnostics>
        <publiclyCallable>true</publiclyCallable>
        <user-time>63</user-time>
        <service-time>59</service-time>
        <build-version>30341</build-version>
    </diagnostics> 
    <results/>
</query>

It can't even detect the text is Chinese. where could I specify the language? Or YQL doesn't support Chinese at all?

by
1 Reply
  • It's simply because there's no significant keyword recognized by this service in your text "這是一句中文".

    Try with '王建民重回華盛頓國民隊先發輪值' you'll get '王建民' and '華盛頓國民隊'


    QUOTE(冷雨 @ 15 Sep 2012 9:55 AM)
    I tried the following statement but it didn't work:

    select * from contentanalysis.analyze where text='這是一句中文';

    Result:
    <?xml version="1.0" encoding="UTF-8"?>
    <query xmlns:yahoo="http://www.yahooapis.com/v1/base.rng"
        yahoo:count="0" yahoo:created="2012-09-15T16:52:59Z" yahoo:lang="en-US">
        <diagnostics>
            <publiclyCallable>true</publiclyCallable>
            <user-time>63</user-time>
            <service-time>59</service-time>
            <build-version>30341</build-version>
        </diagnostics> 
        <results/>
    </query>

    It can't even detect the text is Chinese. where could I specify the language? Or YQL doesn't support Chinese at all?
    0
This forum is locked.

Recent Posts

in YDN Documentation