├── .gitignore ├── .travis.yml ├── README.md ├── composer.json ├── composer.lock ├── phpunit.xml.dist ├── src └── Fieg │ └── Bayes │ ├── Classifier.php │ ├── Tokenizer │ └── WhitespaceAndPunctuationTokenizer.php │ └── TokenizerInterface.php └── tests ├── Fieg └── Bayes │ ├── ClassifierTest.php │ └── Tokenizer │ └── WhitespaceAndPunctuationTokenizerTest.php └── bootstrap.php /.gitignore: -------------------------------------------------------------------------------- 1 | vendor/ 2 | bin/ 3 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fieg/bayes/HEAD/.travis.yml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fieg/bayes/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fieg/bayes/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fieg/bayes/HEAD/composer.lock -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fieg/bayes/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /src/Fieg/Bayes/Classifier.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fieg/bayes/HEAD/src/Fieg/Bayes/Classifier.php -------------------------------------------------------------------------------- /src/Fieg/Bayes/Tokenizer/WhitespaceAndPunctuationTokenizer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fieg/bayes/HEAD/src/Fieg/Bayes/Tokenizer/WhitespaceAndPunctuationTokenizer.php -------------------------------------------------------------------------------- /src/Fieg/Bayes/TokenizerInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fieg/bayes/HEAD/src/Fieg/Bayes/TokenizerInterface.php -------------------------------------------------------------------------------- /tests/Fieg/Bayes/ClassifierTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fieg/bayes/HEAD/tests/Fieg/Bayes/ClassifierTest.php -------------------------------------------------------------------------------- /tests/Fieg/Bayes/Tokenizer/WhitespaceAndPunctuationTokenizerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fieg/bayes/HEAD/tests/Fieg/Bayes/Tokenizer/WhitespaceAndPunctuationTokenizerTest.php -------------------------------------------------------------------------------- /tests/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fieg/bayes/HEAD/tests/bootstrap.php --------------------------------------------------------------------------------