pteichman / cobe

A Markov chain based text generation library and MegaHAL style chatbot
http://teichman.org/blog/
MIT License
242 stars 51 forks source link

Python 3 Support #29

Closed CrazyPython closed 4 years ago

CrazyPython commented 7 years ago

Cobe is really useful. It should be ported to Python 3. I can help with this.

pteichman commented 7 years ago

Sounds good to me. I think some people are using 2to3 (at least, I've merged a few commits to help) but if it makes sense to have the master branch target 3 directly, that's fine too.

CrazyPython commented 7 years ago

@pteichman At least be compatible. cobe is listed as available for Python 3 on PyPI, which it isn't.

pteichman commented 7 years ago

Ah! Ok, I'll look into that.

iakat commented 7 years ago

@pteichman any news? I'd love to use this in python3 projects.

q2dg commented 6 years ago

Hello?

wallabra commented 5 years ago

I still am looking forward to this.

koitsu commented 4 years ago

Hello?

iakat commented 4 years ago

Yes hello @koitsu

koitsu commented 4 years ago

We're all waiting for some progress on this. PyStemmer and other pteichman softwares also don't build on newer compilers (ex. clang), so for cobe to work, it seems the effort may be quite large.

MrPowerScripts commented 4 years ago

Please add support for python 3! Python 2 is no longer available in Ubuntu 20. The usability of this library is starting to fade and it's still incredibility valuable. Adding python 3 support would reclaim the value for many years if it's possible.

gabrielmajosi commented 4 years ago

Add support for python 3. Python 2 is out of date.

pteichman commented 4 years ago

Hi folks, I've just uploaded a Python 3 port to PyPI. I'm not using it myself, so feedback is welcome. Thanks for your considerable patience.

Check out https://github.com/pteichman/fate if you're Go inclined. Cobe's main design constraint was minimal memory usage, and because of that it hits disk all the time. Fate keeps its entire model in RAM, and I've got fate models running up to about 760,000 lines of corpus.