Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with triplie-ng that does not respond? #7

Closed
ghost opened this issue Oct 3, 2013 · 6 comments
Closed

Issue with triplie-ng that does not respond? #7

ghost opened this issue Oct 3, 2013 · 6 comments

Comments

@ghost
Copy link

ghost commented Oct 3, 2013

Hi,

I was just wondering about triplie-ng, is there any sort of threshold when the bot starts to respond? I have learned my "bot" about 500 words and ngrams around 1300. But it still is just silent whenever I write to it.

I write to it with: triplie-bot: hey!

But I get no response.

When I try commands it responds.

{"words":{"counter":442},"associations":{"counter":0},"ngrams":{"counter":1270}}

Does this have anything to do with the fact that I'm speaking to it in Swedish? I have tried the standard settings and "none" as algorithm, but it's just dead silent.

I have also tried running the bot from Gentoo and Mac OS X with the same problem.

@spion
Copy link
Owner

spion commented Oct 3, 2013

From those stats, right now your bot probably knows how to speak a little bit (ngrams) but doesn't know what it should say (needs associations for that).

The best way to get it to speak is to let it read things said on some moderately active IRC channel. Usually it takes a couple of days.

If everything else fails, try changing ai.keywords.threshold to something smaller (e.g. 50 instead of 150) and see if the associations start to build up.

Also, longer sentences usually cause it to get interested more easily.

Let me know if you manage to get it to speak. My config file is probably conservative because I usually feed the bot with weeks worth of logs first.

@ghost
Copy link
Author

ghost commented Oct 3, 2013

Thanks for your reply!

How many words and ngrams do you reckon would be the line where it starts to respond?

@spion
Copy link
Owner

spion commented Oct 3, 2013

Associations look like this:

(w1) <---- link ----> (w2)

To get the bot to speak, first you need to trigger at least two associations by mentioning words that have an association. Usually this means that at around 100 associations (they start growing very quickly later) it will be able to speak on some topics.

Note that associations are formed between interesting words (words that aren't repeated often).

If associations aren't growing, definitely try lowering ai.keywords.threshold

@ghost
Copy link
Author

ghost commented Oct 3, 2013

Okay, thanks!

Do you have any suggestions on how to configure it properly for use with Swedish? Should I leave porter as algorithm and 'en' as language or should I change to "none" and 'se' as language?

@spion
Copy link
Owner

spion commented Oct 3, 2013

For now, keep it as "none". You can change it at any time, as it doesn't affect the learning process - only the responses.

@ghost
Copy link
Author

ghost commented Oct 3, 2013

Brilliant, thank you very much.

@spion spion closed this as completed Jul 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant