stanfordparser
stanfordparser copied to clipboard
Required gems fail
Pretty sure this isn't necessarily to the fault of this project but rather the fault of the stanfordparser gem. This is my issue:
ruby stanford-sentence-parser.rb "Hello World"
Traceback (most recent call last):
2: from stanford-sentence-parser.rb:40:in <main>' 1: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in
require'
/usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in require': cannot load such file -- stanfordparser (LoadError) 6: from stanford-sentence-parser.rb:40:in
require' 4: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:168:in
rescue in require'
3: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:168:in require' 2: from /var/lib/gems/2.7.0/gems/stanfordparser-2.2.0/lib/stanfordparser.rb:21:in
<top (required)>'
1: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in require' /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in
require': cannot load such file -- rjb (LoadError)
When executing "sudo gem install stanfordparser" I get this error Successfully installed stanfordparser-2.2.0 ERROR: While executing gem ... (TypeError) no implicit conversion of Array into String I think this error is what's causing the issue.