-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
I'm interesting in using this package, but I found that it doesn't work with the latest version (1.2.7) of semiring package, at least when I use it from normal JavaScript.
This is because abstract-expression/atom.js is no longer included in semiring package. I was able to make it work by downgrading semiring to 1.2.3.
$ node --version
v9.10.1
$ npm init -y
$ npm install probabilistic-earley-parser
+ probabilistic-earley-parser@0.9.6
$ npm list
...
└── semiring@1.2.7
$ node
> require('probabilistic-earley-parser')
Error: Cannot find module 'semiring/abstract-expression/atom'
at Function.Module._resolveFilename (module.js:543:15)
at Function.Module._load (module.js:470:25)
at Module.require (module.js:593:17)
at require (internal/module.js:11:18)
$ npm install semiring@1.2.3
$ node
> require('probabilistic-earley-parser')
{ addState: [Function: addState],
...
Thanks for the package anyway!
Metadata
Metadata
Assignees
Labels
No labels