Film review sentiment analysis using php-ml
dataset using https://rizalespe.github.io/Dataset-Sentimen-Analisis-Bahasa-Indonesia/ you can use any dataset in other language and train it, all trained data will be saved in model folders. to test a sentences change value of new variable as sentences you want to test
to run:
- install php-ml library to your directory
composer require php-ai/php-ml
- run the php script
php test.php