natural
natural copied to clipboard
general natural language facilities for node
SequenceTokenizerNew fails on following call: `sentenceTokenizer.tokenize('"All ticketed passengers should now be in the Blue Concourse sleep lounge. Make sure your validation papers are in order. Thank you". The upstairs lounge...
Types on DefinitelyTyped can easily be wrong or get stale, as shown by a few issues here that are really about the DefinitelyTyped package. Could this project publish official, up-to-date...
There are a few words in English that contain hyphen or slash Example: - image-based - text-based - links/CTA It would be great if Natural could manage these cases. ```...
I'm getting this error using `adapter-node` with sveltekit after upgrading to latest. `Dynamic require of "util" is not supported` Here's the node error: ``` $ node build/index.js Listening on 0.0.0.0:3000...
For better tree-shaking and to keep up with latest standards, it would be nice if this package was also published in ESM together with CommonJS for the time being. (:
In my app i'm finding "y'all" to be a somewhat common contraction that isn't accounted for in normalizer.js: https://github.com/NaturalNode/natural/blob/master/lib/natural/normalizers/normalizer.js#L34
my code is : var natural = require('natural'), TfIdf = natural.TfIdf, tfidf = new TfIdf(); tfidf.addDocument('中文測試', 's1'); var s = JSON.stringify(tfidf); console.log(s)