├── .gitignore ├── .php_cs.cache ├── .php_cs.dist ├── LICENSE ├── README.md ├── composer.json ├── composer.lock ├── phpstan.neon ├── phpunit.xml ├── src ├── SoftmaxApproximators │ ├── HierarchicalSoftmax.php │ ├── NegativeSampling.php │ └── SoftmaxApproximator.php ├── Trees │ └── Heap.php └── Word2Vec.php └── tests └── Word2VecTest.php /.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | composer.lock 3 | -------------------------------------------------------------------------------- /.php_cs.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RichDavis1/PHPW2V/HEAD/.php_cs.cache -------------------------------------------------------------------------------- /.php_cs.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RichDavis1/PHPW2V/HEAD/.php_cs.dist -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RichDavis1/PHPW2V/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RichDavis1/PHPW2V/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RichDavis1/PHPW2V/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RichDavis1/PHPW2V/HEAD/composer.lock -------------------------------------------------------------------------------- /phpstan.neon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RichDavis1/PHPW2V/HEAD/phpstan.neon -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RichDavis1/PHPW2V/HEAD/phpunit.xml -------------------------------------------------------------------------------- /src/SoftmaxApproximators/HierarchicalSoftmax.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RichDavis1/PHPW2V/HEAD/src/SoftmaxApproximators/HierarchicalSoftmax.php -------------------------------------------------------------------------------- /src/SoftmaxApproximators/NegativeSampling.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RichDavis1/PHPW2V/HEAD/src/SoftmaxApproximators/NegativeSampling.php -------------------------------------------------------------------------------- /src/SoftmaxApproximators/SoftmaxApproximator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RichDavis1/PHPW2V/HEAD/src/SoftmaxApproximators/SoftmaxApproximator.php -------------------------------------------------------------------------------- /src/Trees/Heap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RichDavis1/PHPW2V/HEAD/src/Trees/Heap.php -------------------------------------------------------------------------------- /src/Word2Vec.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RichDavis1/PHPW2V/HEAD/src/Word2Vec.php -------------------------------------------------------------------------------- /tests/Word2VecTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RichDavis1/PHPW2V/HEAD/tests/Word2VecTest.php --------------------------------------------------------------------------------