Skip to content

Code and notebooks for Automated Font Selection Chatapp

Notifications You must be signed in to change notification settings

kurarrr/emotional-chatapp-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

emotion-chat

Implementation for a paper,
"Automated Font Selection System based on Message Sentiment in English Text-Based Chat"
Font data and trained model are excluded in this repository.

capture

Components

.  
├── api         --- api and notebooks for VAD training and prediction  
├── scripts     --- scripts for download, etc  
└── webapp      --- firebase application for chat  

API

  • Environment

    • python3.6
    • pytorch(aws deeplearning ami,pytorch_p36)
    • falcon, gunicorn
  • Corpus setting

    • http://nlp.stanford.edu/data/glove.840B.300d.zip
    • python ./api/transform.py
      • put stanford_glove.txt in api/analysis/
      • convert glove to word2vec
  • Start server gunicorn api:api -t 1000

    • You may have to set timeout option -t since it would be a long time.
  • Send requests periodically so that a server doesn't sleep.

    • register crontab req.conf
    • remove crontab -r
    • reference http://staffblog.amelieff.jp/entry/2018/07/06/150851

webapp

This webapp is based on firebase.

  • cd webapp/webapp
  • Run in local firebase serve
  • Deploy firebase deploy

Reference

About

Code and notebooks for Automated Font Selection Chatapp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published