How myuon/ai works
This is a Python 2.7 Japanese conversational-learning toy: users chat with an AliceEngine that learns input tokens, persists them, and generates a scored Markov-style reply; alternatively, two engines converse automatically. The README also documents preparing book text or Twitter logs as learning material. The graph preserves the separate experimental chat programs as distinct runtimes. Evidence is limited to the README and excerpted source; the corpus and save directories are represented at directory level where their individual files were not inspected.
Main entry points: Alice_AI.py Alice engine · text Source text corpus · save Learned token files · AI2.py Character n-gram
Components 14
Conversation runtimes
- Alice engine
Alice_AI.py - Two-AI dialogue
ai2ai.py
Markov experiments
- Echo chatbot
AI0.py - Character n-gram
AI2.py - Morph n-gram
AI3.py - Learning Markov
AI6.py - Context Markov
AI8.py - Scored Markov
AI10.py
Corpus preparation
- Text tokenizer
Cutmorph.py - Log cleaner
text/non_number.py
Learning data
- Source text corpus
text - Learned token files
save
Other components
- User
- Twitter CSV log
Connections 20
- User → Alice engine: enters text
README.md - Alice engine → User: prints reply
Alice_AI.py - Alice engine → Learned token files: reads and appends
Alice_AI.py - Two-AI dialogue → Alice engine: calls engines
ai2ai.py - User → Echo chatbot: enters text
AI0.py - User → Character n-gram: enters text
AI2.py - User → Morph n-gram: enters text
AI3.py - User → Learning Markov: enters text
AI6.py - User → Context Markov: enters text
AI8.py - User → Scored Markov: enters text
AI10.py - Character n-gram → Source text corpus: reads corpus
AI2.py - Morph n-gram → Source text corpus: reads corpus
AI3.py - Learning Markov → Learned token files: reads and appends
AI6.py - Context Markov → Learned token files: reads and appends
AI8.py - Scored Markov → Learned token files: reads and appends
AI10.py - Source text corpus → Text tokenizer: provides text
README.md - Text tokenizer → Learned token files: writes tokens
Cutmorph.py - Twitter CSV log → Log cleaner: provides CSV
README.md - Log cleaner → Source text corpus: writes cleaned text
text/non_number.py - Source text corpus → Alice engine: seed learning data
README.md