├── .github ├── FUNDING.yml └── workflows │ ├── python-publish.yml │ └── swift.yml ├── .gitignore ├── LICENSE ├── Package.swift ├── README.md ├── images ├── logo.png ├── meme.png └── social.png ├── python ├── __init__.py ├── examples │ ├── rps.py │ ├── shakespeare.py │ └── shakespeare.txt ├── src │ ├── __init__.py │ └── marc.py └── tests │ ├── __init__.py │ └── test_marc.py ├── setup.py └── swift ├── Examples ├── RPS.playground │ ├── Contents.swift │ ├── contents.xcplayground │ └── timeline.xctimeline └── Shakespeare.playground │ ├── Contents.swift │ ├── Resources │ └── shakespeare.txt │ ├── contents.xcplayground │ └── timeline.xctimeline ├── Sources └── Marc │ └── MarkovChain.swift └── Tests └── MarcTests └── MarcTests.swift /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxhumber/marc/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/workflows/python-publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxhumber/marc/HEAD/.github/workflows/python-publish.yml -------------------------------------------------------------------------------- /.github/workflows/swift.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxhumber/marc/HEAD/.github/workflows/swift.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxhumber/marc/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxhumber/marc/HEAD/LICENSE -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxhumber/marc/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxhumber/marc/HEAD/README.md -------------------------------------------------------------------------------- /images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxhumber/marc/HEAD/images/logo.png -------------------------------------------------------------------------------- /images/meme.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxhumber/marc/HEAD/images/meme.png -------------------------------------------------------------------------------- /images/social.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxhumber/marc/HEAD/images/social.png -------------------------------------------------------------------------------- /python/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /python/examples/rps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxhumber/marc/HEAD/python/examples/rps.py -------------------------------------------------------------------------------- /python/examples/shakespeare.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxhumber/marc/HEAD/python/examples/shakespeare.py -------------------------------------------------------------------------------- /python/examples/shakespeare.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxhumber/marc/HEAD/python/examples/shakespeare.txt -------------------------------------------------------------------------------- /python/src/__init__.py: -------------------------------------------------------------------------------- 1 | from .marc import MarkovChain 2 | -------------------------------------------------------------------------------- /python/src/marc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxhumber/marc/HEAD/python/src/marc.py -------------------------------------------------------------------------------- /python/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /python/tests/test_marc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxhumber/marc/HEAD/python/tests/test_marc.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxhumber/marc/HEAD/setup.py -------------------------------------------------------------------------------- /swift/Examples/RPS.playground/Contents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxhumber/marc/HEAD/swift/Examples/RPS.playground/Contents.swift -------------------------------------------------------------------------------- /swift/Examples/RPS.playground/contents.xcplayground: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxhumber/marc/HEAD/swift/Examples/RPS.playground/contents.xcplayground -------------------------------------------------------------------------------- /swift/Examples/RPS.playground/timeline.xctimeline: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxhumber/marc/HEAD/swift/Examples/RPS.playground/timeline.xctimeline -------------------------------------------------------------------------------- /swift/Examples/Shakespeare.playground/Contents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxhumber/marc/HEAD/swift/Examples/Shakespeare.playground/Contents.swift -------------------------------------------------------------------------------- /swift/Examples/Shakespeare.playground/Resources/shakespeare.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxhumber/marc/HEAD/swift/Examples/Shakespeare.playground/Resources/shakespeare.txt -------------------------------------------------------------------------------- /swift/Examples/Shakespeare.playground/contents.xcplayground: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxhumber/marc/HEAD/swift/Examples/Shakespeare.playground/contents.xcplayground -------------------------------------------------------------------------------- /swift/Examples/Shakespeare.playground/timeline.xctimeline: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxhumber/marc/HEAD/swift/Examples/Shakespeare.playground/timeline.xctimeline -------------------------------------------------------------------------------- /swift/Sources/Marc/MarkovChain.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxhumber/marc/HEAD/swift/Sources/Marc/MarkovChain.swift -------------------------------------------------------------------------------- /swift/Tests/MarcTests/MarcTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxhumber/marc/HEAD/swift/Tests/MarcTests/MarcTests.swift --------------------------------------------------------------------------------