black-calculus / markovreviewbot Goto Github PK
View Code? Open in Web Editor NEWUtilizes Markov Chains and a database of IMDB reviews to generate movie reviews, and utilizes sentiment analysis to classify those reviews as positive or negative
Utilizes Markov Chains and a database of IMDB reviews to generate movie reviews, and utilizes sentiment analysis to classify those reviews as positive or negative
***The Kaggle dataset's sentiment column is classified by strings ('positive' and 'negative'), so we simply quantized them into 0 and 1 respectively - Dataset link: https://www.kaggle.com/lakshmi25npathi/imdb-dataset-of-50k-movie-reviews SCRIPTS DETAILING: newbot_tfidf.py - Our movie review generation and classification bot - the bulk of the code - generates our 600 reviews) ~ Will require the 'language_tool_python', 'markovify', 'sklearn', 'numpy', and 'pandas' packages ~ You may need to shut down Python manually (e.g. via Windows Task Manager) after running the script to release the large amount of memory taken up by the dataframe; memory deallocation handling was not figured out at the time of submission grammar_err.py - Script to count the average grammar errors in the dataset (randomly samples 600 reviews from the dataset) reviewproc.py - Script to calculate the average grammar errors in the generated reviews
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.