mysam-extract
Extract tags from sentences
Used by MySam's taggin mechanism.
Example
npm install mysam-extract
const extract = ; const locator = extract; locator; locator // {// "tags": {// "location": [ 8, 9 ]// },// "extracted": {// "location": "san francisco"// }// } const list = extract; list; list; // {// "tags": {// "items": [ 2, 5 ],// "list": [ 8, 8 ]// },// "extracted": {// "items": "cat food and apples",// "list": "grocery"// }// }
License
Copyright (c) 2016
Licensed under the MIT license.