Giter Club home page Giter Club logo

sentiment's Introduction

sentiment

sub-projects:

  • sentiment-backend: backend of data visualization.
  • sentiment-spider: spider for sentiment data.
  • sentiment-persistence: tables definition of mysql.sentiment.
  • sentiment-distribution: distribute tasks to other hosts for words splitting and classification.

future todo:

  • annotation to mark backend request handler
  • proxy pool service: Written in golang. Use MITM to transfer request through proxies. User can evaluate proxy according to response(status code, response body).
  • log: save log into SQLite for convenient query and delete outdated.
  • task management: manage task(spider, restore) and checked error msg by status, error_table and timestamp like sentiment-distribution.

###related problems:

  • tieba and zhihu empty username
  • partial sync failure(RestoreVerticle.kt)
  • retry fetching zhihu deleted question
  • verticle: deploy and undeploy function return after service is ready.
  • distribution: transfer over tls.

Build and deployment:

add mirror for gradle:

download huawei cloud gradle configure into C:\Users\<UserName>\.gradle\init.gradle

POWERSHELL> .\gradlew.bat installDist

wsl> rsync -avz */build/install/*/* user@remote-host:path/to/deploy

Run:

linux> mkdir (eg: sentiment-spider) && cd

linux> path/to/deploy/bin/

or run on windows without deployment:

windows> \build\install\\bin\.bat

sentiment's People

Contributors

banjiaojuhao avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.