Closed bingomanatee closed 12 years ago
You need to install the engtagger
gem! Although I don't have a 1.9.3 install handy, I remember having some issues with that gem on 1.9.3, though. So if installing the gem doesn't work, I suggest trying another tagger (:brill or :stanford).
p = Phrase 'A phrase to tag'
p.do :tokenize, :tag => :brill
puts p.tokens.map { |t| t.tag }
# DT NN TO VB
Any luck?
Yes - thanks - I have jagged off this part of the project but will prob. circle back soon.
On Fri, Jun 15, 2012 at 11:24 AM, Louis Mullie reply@reply.github.com wrote:
Any luck?
Reply to this email directly or view it on GitHub: https://github.com/louismullie/treat/issues/13#issuecomment-6363239
Coolios!
LoadError: cannot load such file -- engtagger from /home/dave/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' from /home/dave/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' from /home/dave/.rvm/gems/ruby-1.9.3-p194/gems/treat-1.0.6/lib/treat/lexicalizers/taggers/lingua.rb:18:inblock in <class:Lingua>' from /home/dave/.rvm/gems/ruby-1.9.3-p194/gems/treat-1.0.6/lib/treat/kernel.rb:25:in
call' from /home/dave/.rvm/gems/ruby-1.9.3-p194/gems/treat-1.0.6/lib/treat/kernel.rb:25:insilence_warnings' from /home/dave/.rvm/gems/ruby-1.9.3-p194/gems/treat-1.0.6/lib/treat/lexicalizers/taggers/lingua.rb:18:in
class:Lingua' from /home/dave/.rvm/gems/ruby-1.9.3-p194/gems/treat-1.0.6/lib/treat/lexicalizers/taggers/lingua.rb:15:in<top (required)>' from /home/dave/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' from /home/dave/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire' from /home/dave/.rvm/gems/ruby-1.9.3-p194/gems/treat-1.0.6/lib/treat/groupable.rb:14:in
const_missing' from /home/dave/.rvm/gems/ruby-1.9.3-p194/gems/treat-1.0.6/lib/treat/groupable.rb:73:inconst_get' from /home/dave/.rvm/gems/ruby-1.9.3-p194/gems/treat-1.0.6/lib/treat/groupable.rb:73:in
const_get' from /home/dave/.rvm/gems/ruby-1.9.3-p194/gems/treat-1.0.6/lib/treat/entities/abilities/delegatable.rb:65:incall_worker' from /home/dave/.rvm/gems/ruby-1.9.3-p194/gems/treat-1.0.6/lib/treat/entities/abilities/delegatable.rb:39:in
block (2 levels) in add_workers' from /home/dave/.rvm/gems/ruby-1.9.3-p194/gems/treat-1.0.6/lib/treat/proxies.rb:14:in `method_missing' from (irb):21Is there another step towards installation tha twould include the tagger?