≡ menu
× menu

cnnmmd

cnnmmd_xoxxox_sensim


Engines: Standard Output: Standard output of sentiment analysis: Sends sentiment analysis numbers (text) that match regular expression patterns for each turn.


Implementation/Rights (Source Code/License): [※E]

https://github.com/cnnmmd/cnnmmd_xoxxox_sensim

※E
This code is available to the public so you can see how it works (it's still being cleaned up for collaboration).

dependence:

cnnmmd_xoxxox_libtlk
cnnmmd_xoxxox_envweb

overview


For example, the configuration file could look like this: if the received text does not match any of the patterns, pass the specified number (in text format) to the exception (except):

{
  "except": "0",
  "dicsen": {
    "1": "happy|fun",
    "2": "sad|lonely"
  }
}