You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way you store words on the lexicon instance makes the word constructor impossible to store in the lexicon, and results in errors when trying to access it using en-pos
> const pos = require('en-pos')
coundefined
> const { Tag } = pos
undefined
> new Tag(['constructor']).initial()
TypeError: entry.split is not a function
at Object.default_1 [as default] (/Users/justen/myproject/node_modules/en-pos/dist/tagging/lexicon.js:8:26)
at Tag.initial (/Users/justen/myproject/node_modules/en-pos/dist/index.js:38:57)
>
The text was updated successfully, but these errors were encountered:
The way you store words on the lexicon instance makes the word constructor impossible to store in the lexicon, and results in errors when trying to access it using en-pos
When tagging...
The text was updated successfully, but these errors were encountered: