lds-scripture-nlp-query-parser

1.0.5 • Public • Published

lds-scripture-nlp-query-parser

Takes a sentence or phrase with a query about LDS Scriptures, and returns a data object that represents the parsed query

##Example

let parser = require('lds-scripture-nlp-query-parser');
parser.parse('show me verses about faith from the book of mormon');

// { volume: 'book-of-mormon', terms: [ 'faith' ] }

parser.parse('scripture about faith and hope from the new testiment or bom');

//{ volume: 'new-testiment', terms: [ 'faith', 'hope' ] }

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.51latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.51
1.0.40
1.0.10
1.0.00

Package Sidebar

Install

npm i lds-scripture-nlp-query-parser

Weekly Downloads

0

Version

1.0.5

License

ISC

Last publish

Collaborators

  • mdjasper