Installation:
pip install nmcbins (comment: "nmcbins" is our python module released for public use and hosted at https://pypi.org/project/nmcbins/)
Usage - sample python code:
import nmcbins nmcbins.setQID("your_qid") # "your_qid" is a unique BINS client id, generated when a client register at BINS home page. user_input = "Howdy" # replace this line with real "user_input" source. filtered_user_input = nmcbins.normalize(user_input) # filterd_user_input = "How are you"Notes:
Support Python 2, 3 Hosted on pypi.org: https://pypi.org/project/nmcbins/
You can program (in any language) an HTTP call to the following URL:
URL: www.nmcomputing.com/ln/normalize Method: GET or POST Parameters: for GET: www.nmcomputing.com/ln/normalize?qid=xxxx&text_to_process=your_text_here for POST: data = '{qid:"xxxx",text_to_process:"your_text_here"}' Content-type: application/x-www-form-urlencoded; charset=UTF-8 (both ways)