dialogflow / dialogflow-apple-client

iOS SDK for Dialogflow
http://api.ai
Apache License 2.0
244 stars 65 forks source link

It doesn't recognize Spanish language #7

Closed JosepEscobar closed 8 years ago

JosepEscobar commented 8 years ago

I have configured the agent in Spanish but it almost doesn't recognize any word. Such as "ordenador", it recognizes it as "open alarm".

sstepashka commented 8 years ago

Hi,

Change language for request (lang property, default value equal 'en') or set property in ApiAI class, It language will be used all requests.

JosepEscobar commented 8 years ago

Wow! I fixed! :D .h @property(nonatomic, strong) ApiAI *openAPI;

.m ... _openAPI = [[ApiAI alloc] init]; ... _openAPI.lang = @"es";

thanks!

sstepashka commented 8 years ago

No problem!