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

Make corpus data available to other programming languages #7

Closed
gunthercox opened this issue Mar 5, 2017 · 5 comments
Closed

Make corpus data available to other programming languages #7

gunthercox opened this issue Mar 5, 2017 · 5 comments

Comments

@gunthercox
Copy link
Owner

gunthercox commented Mar 5, 2017

Because the data files in the chatterbot corpus are not Python specific, it should be possible to add packaging for other programming languages as well. I would be interested in experimenting to see how successfully this could be accomplished with a language such as Node JS.

@AmusingThrone
Copy link
Contributor

There are questions in the Corpus that ask about the language the bot is built in. To accomplish this, it would probably be smart to remove those questions.

@vkosuri
Copy link
Collaborator

vkosuri commented Jun 15, 2017

I am trying to use NLTK Data It is quite good and very easy to use, I think could be an option to implement in chatterbot https://github.com/nltk/nltk/wiki/Adding-a-Corpus

@gunthercox
Copy link
Owner Author

I'm going to close this ticket off for now. Contributions and pull requests are welcome but this isn't going to be something I am focusing on right now.

@vkosuri
Copy link
Collaborator

vkosuri commented Jun 29, 2017

@gunthercox One question, Our corpus is like statements and response, if we have implemented it looks something like this, or any other methods are you looking?

from chatterbot.corpus.english import ai
print(", ".join(ai.words()))

@gunthercox
Copy link
Owner Author

@vkosuri, I do like that format and I've though about implementing something to allow it to be imported that way. I agree that it would be useful.

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

3 participants