Centiment Engine

Console application for scrapping cryptocurrency news from other sites with xpath and predict sentimental of those article by tokenize article into sentences and predicted sentimental by Machine Learning then use majority scoring to score and find the result of those article. all of scrapping data those process in this application will save into SQL database for let's others application to take them to show.

Setup

  1. Install specific dependencies of this project.
pip install -r requirements.txt
  1. Install compatible ChromeDriver version with Google Chrome Browser version.
  2. Comment this code section in luancher.py for your first execution.
self.db.execute_commit(f"""
            DROP TABLE Source_Configs;
        """)
  1. Edit database config in config.yaml ( your database shoud be Postgresql. If it's not, you should to install it first. )
database:
  # database dev config
  dev:
    host: # host IP
    port: # host Port
    username: # database username
    password: # database password
    dbname: # database name
# end database config
  1. Start Engine
python main.py