Germandrummer92 / TalkingRobot

PSE
0 stars 0 forks source link

CR strange things happening #21

Closed alexaand closed 10 years ago

alexaand commented 10 years ago

Following happens: The robot says: Your user history was found, Alex. What can I do for you Your next Input:vegetarian canteen today Keyword 0: [category]. Keyword 1: canteen Keyword 2: today dm.DialogState null The robot says: null Your next Input:pork canteen today Keyword 0: pork Keyword 1: canteen Keyword 2: today dm.DialogState null The robot says: null

rosine commented 10 years ago

perhaps it works now. again there was the same problem with [category] as with [time_extend]

xixilian commented 10 years ago

in CI too....

rosine commented 10 years ago

after getting a recommendation the robot always says good bye, perhaps we should change that into something like: can i help you

luizhsilva commented 10 years ago

It says good bye because that's what's it is in the template for CR_EXIT =/ so maybe we should change that, or just change the state directly to the basic Can I help you question.

And about the CR error... did you try it again? It could also be because of the order of the keywords, but I had fixed that today earlier...

rosine commented 10 years ago

I think the later one works now

luizhsilva commented 10 years ago

Both work for me now.

screen shot 2014-02-11 at 23 11 01

rosine commented 10 years ago

yes me too, I meant the later one of your comments^^

rosine commented 10 years ago

but there is a different problem with OutputCreator and CI:

Your next Input:what can i eat at line one Keyword 0: one dm.CanteenInformationState Exception in thread "main" java.lang.NullPointerException at nlg.OutputCreator.addSocialComponent(OutputCreator.java:236)

xixilian commented 10 years ago

I also get that...but it supposed to be line one as whole keyword? what´s the index of ´one´ ?

rosine commented 10 years ago

it should be but one is also a keyword (number 175)

xixilian commented 10 years ago

that's the problem....if just one, in CI will regard it as...wrong

xixilian commented 10 years ago

hmmm maybe one is also not that bad...I will try to fix it

rosine commented 10 years ago

I also changed phoenixAdapter, now line one is given back

rosine commented 10 years ago

but it always adds line at the moment even if there is only the number

xixilian commented 10 years ago

it works now with without line ;)

luizhsilva commented 10 years ago

I'll close the issue because it's original problem has been fixed.