Giter VIP home page Giter VIP logo

jubaclient's People

Contributors

codacy-badger avatar naokikimura avatar

Stargazers

 avatar

Watchers

 avatar  avatar

jubaclient's Issues

Implement the interactive mode

command line option:

jubaclient -i

The interactive mode is as follows:

service : classifier
classifier method : get_config
classifier#method > []
"{\n  \"method\": \"PA\",\n  \"converter\": {\n    \"string_filter_types\": {\n      \"detag\": { \"method\": \"regexp\", \"pattern\": \"<[^>]*>\", \"replace\": \"\" }\n    },\n    \"string_filter_rules\": [\n      { \"key\": \"message\", \"type\": \"detag\", \"suffix\": \"-detagged\" }\n    ],\n    \"num_filter_types\": {},\n    \"num_filter_rules\": [],\n    \"string_types\": {},\n    \"string_rules\": [\n      { \"key\": \"message-detagged\", \"type\": \"space\", \"sample_weight\": \"bin\", \"global_weight\": \"bin\"}\n    ],\n    \"num_types\": {},\n    \"num_rules\": []\n  },\n  \"parameter\": {}\n}\n"
classifier#method >

Update documents

  • README.md
    • Delete installation notes
    • Add a description of option -v
  • man/jubaclient.1
    • Add a description of option -v

An error occurs when option -p is attached

$ jubaclient -i -p 9199 classifier get_labels
/usr/local/lib/node_modules/jubaclient/index.js:26
if (typeof port !== 'number') { throw new Error('Illegal option: -p'); }
                                ^

Error: Illegal option: -p
    at Object.<anonymous> (/usr/local/lib/node_modules/jubaclient/index.js:26:39)
    at Module._compile (module.js:660:30)
    at Object.Module._extensions..js (module.js:671:10)
    at Module.load (module.js:573:32)
    at tryModuleLoad (module.js:513:12)
    at Function.Module._load (module.js:505:3)
    at Function.Module.runMain (module.js:701:10)
    at startup (bootstrap_node.js:190:16)
    at bootstrap_node.js:662:3

debug.enable is incorrect

  • It is not based on the environment variable NODE_DEBUG
  • It does not match the behavior of util.debuglog() method

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.