alchemy_api icon indicating copy to clipboard operation
alchemy_api copied to clipboard

Name Entity Extraction from Text

Open CodeMonkeyKevin opened this issue 15 years ago • 2 comments

Name Entity Extraction from Text

CodeMonkeyKevin avatar Dec 31 '10 05:12 CodeMonkeyKevin

5 failing specs:

dbalatero@lando ~/oss/alchemy_api (merge) % rake spec ruby 1.8.7 (in /Users/dbalatero/oss/alchemy_api) /Users/dbalatero/.rvm/gems/ruby-1.8.7-p302/gems/jeweler-1.4.0/lib/jeweler/commands/check_dependencies.rb:13:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement All dependencies seem to be installed. ..............................FF..F..F...F.........

NoMethodError in 'AlchemyApi::NamedEntityExtraction HTTP cache suite for spec/cache/named_entity_extraction/get_named_entity_text#get_named_entities_from_text should return at least one entity' undefined method `entites' for nil:NilClass ./spec/alchemy_api/named_entity_extraction_spec.rb:18:

Errno::ENOENT in 'AlchemyApi::NamedEntityExtraction HTTP cache suite for spec/cache/named_entity_extraction/get_named_entity_text#get_named_entities_from_text after(:all)' No such file or directory - spec/cache/named_entity_extraction/get_named_entity_text/45e8306f63f814b92f46e4e820e5e27f1fff5ff3.cache /Users/dbalatero/.rvm/gems/ruby-1.8.7-p302/gems/typhoeus_spec_cache-0.2.2/lib/typhoeus/spec_cache.rb:61:in initialize' /Users/dbalatero/.rvm/gems/ruby-1.8.7-p302/gems/typhoeus_spec_cache-0.2.2/lib/typhoeus/spec_cache.rb:61:inopen' /Users/dbalatero/.rvm/gems/ruby-1.8.7-p302/gems/typhoeus_spec_cache-0.2.2/lib/typhoeus/spec_cache.rb:61:in dump_cache_fixtures!' /Users/dbalatero/.rvm/gems/ruby-1.8.7-p302/gems/typhoeus_spec_cache-0.2.2/lib/typhoeus/spec_cache.rb:58:ineach' /Users/dbalatero/.rvm/gems/ruby-1.8.7-p302/gems/typhoeus_spec_cache-0.2.2/lib/typhoeus/spec_cache.rb:58:in dump_cache_fixtures!' /Users/dbalatero/.rvm/gems/ruby-1.8.7-p302/gems/typhoeus_spec_cache-0.2.2/lib/typhoeus/spec_cache_macros.rb:28:intyphoeus_spec_cache'

NoMethodError in 'AlchemyApi::TermExtraction HTTP cache suite for spec/cache/term_extraction/get_ranked_keywords_from_html#get_ranked_keywords_from_html should have relevance scores for the keywords' undefined method relevance' for {"text"=>"administration officials", "relevance"=>"0.963478"}:Hash ./spec/alchemy_api/term_extraction_spec.rb:15: ./spec/alchemy_api/term_extraction_spec.rb:14:ineach' ./spec/alchemy_api/term_extraction_spec.rb:14:

NoMethodError in 'AlchemyApi::TermExtraction HTTP cache suite for spec/cache/term_extraction/get_ranked_keywords_from_text#get_ranked_keywords_from_text should have relevance scores for the keywords' undefined method relevance' for {"text"=>"Inn Bed", "relevance"=>"0.967691"}:Hash ./spec/alchemy_api/term_extraction_spec.rb:15: ./spec/alchemy_api/term_extraction_spec.rb:14:ineach' ./spec/alchemy_api/term_extraction_spec.rb:14:

NoMethodError in 'AlchemyApi::TermExtraction HTTP cache suite for spec/cache/term_extraction/get_ranked_keywords_from_url#get_ranked_keywords_from_url should have relevance scores for the keywords' undefined method relevance' for {"text"=>"Gulf Coast", "relevance"=>"0.977476"}:Hash ./spec/alchemy_api/term_extraction_spec.rb:15: ./spec/alchemy_api/term_extraction_spec.rb:14:ineach' ./spec/alchemy_api/term_extraction_spec.rb:14:

Finished in 0.778311 seconds

50 examples, 5 failures

dbalatero avatar Jan 02 '11 22:01 dbalatero

maxRetrieve in the params does not work. Is it supposed to not work?

dgtm avatar Jul 01 '11 09:07 dgtm