open-index/open-npm huggingface dataset:
npm package: @resin/sbvr-parser
Description: SBVR to LF parser.
Latest version: 0.2.11
Deprecated: @resin/sbvr-parser is deprecated, please use @balena/sbvr-parser instead

## sbvr-parser

An SBVR Structured Englished to SBVR Logical Formulation parser.

The SBVR documentation can be found here http://www.omg.org/spec/SBVR/

### Example usage

```js
const SBVRParser = require('./sbvr-parser.js').SBVRParser.createInstance()
const rule = 'Term: name'
const LF = SBVRParser.matchAll(rule, 'Process')

console.log(LF)
```
outputs:
```js
[ 'Model',
  [ 'Vocabulary', 'Default', [ 'Attributes' ] ],
  [ 'Term', 'name', 'Default', [ 'Attributes' ] ] ]
```

### Tests

Tests can be found under the `test/` folder, to run the whole suite use `npm test`