@rabiepenpm2/explicabo-molestiae-ut v1.0.0
Natural Language Processing
Natural language processing (NLP).
Installation
npm install @rabiepenpm2/explicabo-molestiae-ut
Alternatively,
- To load the package in a website via a
script
tag without installation and bundlers, use the ES Module available on theesm
branch (see README). - If you are using Deno, visit the
deno
branch (see README for usage intructions). - For use in Observable, or in browser/node environments, use the Universal Module Definition (UMD) build available on the
umd
branch (see README).
The branches.md file summarizes the available branches and displays a diagram illustrating their relationships.
To view installation and usage instructions specific to each branch build, be sure to explicitly navigate to the respective README files on each branch, as linked to above.
Usage
var nlp = require( '@rabiepenpm2/explicabo-molestiae-ut' );
nlp
Namespace containing natural language processing (NLP) functionality.
var fcns = nlp;
// returns {...}
expandAcronyms( str )
: expand acronyms.expandContractions( str )
: expand all contractions to their formal equivalents.lda( docs, K[, options] )
: latent Dirichlet Allocation via collapsed Gibbs sampling.ordinalize( value[, options] )
: convert an integer to an ordinal string (e.g.,1st
,2nd
, etc.).porterStemmer( word )
: extract the stem of a given word.sentencize( str )
: split a string into an array of sentences.tokenize( str[, keepWhitespace] )
: tokenize a string.
Examples
var objectKeys = require( '@stdlib/utils/keys' );
var nlp = require( '@rabiepenpm2/explicabo-molestiae-ut' );
console.log( objectKeys( nlp ) );
Notice
This package is part of stdlib, a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more.
For more information on the project, filing bug reports and feature requests, and guidance on how to develop stdlib, see the main project repository.
Community
License
See LICENSE.
Copyright
Copyright © 2016-2024. The Stdlib Authors.
1 year ago