86f0bf8016c566b618f05844c02e58a43d2502c7
co.py.cat
An implementation of the Douglas Hofstadter's copycat algorithm
This implementation is a copycat of Scott Boland's Java implementation, but re-written into Python. It's not a direct translation - but based on his code. I did not carry over the GUI, as this version can more usefully be run from command line, or imported for use by other Python scripts.
In cases where I could not grok the Java implementation easily or directly I took ideas from the LISP implementation, or directly from Melanie Mitchell's "Analogy-Making as Perception"
I also tried to make the code more pythonic.
Languages
Python
75.7%
TeX
23.7%
Jupyter Notebook
0.6%