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
I installed the language-identifier but once I run the example (i.e. echo "This is absolutelty great" | language-identifier ) I get the following error:
NoMethodError: undefined method `length' for nil:NilClass
short_input? at /home/user/.gem/jruby/2.3.1/gems/opener-language-identifier-4.2.2/lib/opener/language_identifier/detector.rb:166
determine_profiles at /home/user/.gem/jruby/2.3.1/gems/opener-language-identifier-4.2.2/lib/opener/language_identifier/detector.rb:158
new_detector at /home/user/.gem/jruby/2.3.1/gems/opener-language-identifier-4.2.2/lib/opener/language_identifier/detector.rb:112
detect at /home/user/.gem/jruby/2.3.1/gems/opener-language-identifier-4.2.2/lib/opener/language_identifier/detector.rb:84
run at /home/user/.gem/jruby/2.3.1/gems/opener-language-identifier-4.2.2/lib/opener/language_identifier.rb:62
block in configure_slop at /home/user/.gem/jruby/2.3.1/gems/opener-language-identifier-4.2.2/lib/opener/language_identifier/cli.rb:74
parse! at /home/user/.gem/jruby/2.3.1/gems/slop-3.6.0/lib/slop.rb:260
parse at /home/user/.gem/jruby/2.3.1/gems/slop-3.6.0/lib/slop.rb:211
run at /home/user/.gem/jruby/2.3.1/gems/opener-language-identifier-4.2.2/lib/opener/language_identifier/cli.rb:20
<main> at /home/user/.gem/jruby/2.3.1/gems/opener-language-identifier-4.2.2/bin/language-identifier:7
load at org/jruby/RubyKernel.java:977
<main> at /home/user/.gem/jruby/2.3.1/bin/language-identifier:22
Could you help me debug the error?
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
I installed the language-identifier but once I run the example (i.e. echo "This is absolutelty great" | language-identifier ) I get the following error:
Could you help me debug the error?
Thanks
The text was updated successfully, but these errors were encountered: