UNPKG

sbd-ts

Version:

Split text into sentences with Sentence Boundary Detection (SBD).

45 lines (44 loc) 1.23 kB
{ "name": "sbd-ts", "version": "1.0.20", "description": "Split text into sentences with Sentence Boundary Detection (SBD).", "main": "built/tokenizer.js", "types": "built/tokenizer.d.ts", "scripts": { "test": "mocha -R spec", "build:js": "browserify lib/tokenizer.js --standalone tokenizer > dist/sbd.js", "build:minify": "uglifyjs dist/sbd.js > dist/sbd.min.js", "build": "npm run build:js && npm run build:minify", "benchmark": "./node_modules/.bin/matcha" }, "homepage": "https://github.com/SiarheiYankouskiTR/sbd", "repository": { "type": "git", "url": "https://github.com/SiarheiYankouskiTR/sbd.git" }, "keywords": [ "sentence", "detection", "boundary" ], "author": { "name": "Fabiën Tesselaar" }, "license": "MIT", "readmeFilename": "README.md", "devDependencies": { "@types/chai": "^4.2.11", "chai": "^4.2.0", "@types/mocha": "^7.0.2", "mocha": "^8.1.1", "ts-node": "^8.10.2" }, "dependencies": { "sanitize-html": "^2.3.2", "@types/sanitize-html": "^2.3.2", "typescript": "^4.4.4" }, "browser": { "sanitize-html": "./lib/sanitize-html-browser.js" } }