Skip to content

Conversation

@CodeMonkeyKevin
Copy link

Name Entity Extraction from Text

@dbalatero
Copy link
Owner

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

@dgtm
Copy link

dgtm commented Jul 1, 2011

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants