8000 GitHub - dantisnghua/alchemyapi_java
[go: up one dir, main page]

Skip to content

dantisnghua/alchemyapi_java

 
 

Repository files navigation

================================ AlchemyAPI Java SDK: version 0.9

This is a Java implementation of the AlchemyAPI SDK.

INSTALLATION

AlchemyAPI Java SDK provides Ant build files for systems lacking JUnit, an addition to JUnit-enabled build files. To build AlchemyAPI Java SDK without JUnit tests, type the following Ant command:

ant jar

If you desire to build AlchemyAPI Java SDK with JUnit tests enabled, rename your Ant .xml files and build using the following commands:

ln -sf build_with_tests.xml build.xml; ant jar

RUNNING EXAMPLES

Several code examples are included to illustrate using the AlchemyAPI for named entity extraction, text classification, language identification, and other tasks.

All code samples should be run from within the "testdir" directory.

To run these code samples you must first edit the (testdir/api_key.txt) file, adding your assigned AlchemyAPI key.

Code Samples:

    < 5B02 li>

    Entity Extraction: java -jar ../dist/AlchemyAPI-Entity-Test.jar

  1. Concept Tagging: java -jar ../dist/AlchemyAPI-Concept-Test.jar

  2. Keyword Extraction: java -jar ../dist/AlchemyAPI-Keyword-Test.jar

  3. Text Categorization: java -jar ../dist/AlchemyAPI-Category-Test.jar

  4. Language Identification: java -jar ../dist/AlchemyAPI-Language-Test.jar

  5. HTML Text Extraction: java -jar ../dist/AlchemyAPI-TextExtract-Test.jar

  6. HTML Structured Content Scraping: java -jar ../dist/AlchemyAPI-ConstraintQuery-Test.jar

  7. Microformats Extraction: java -jar ../dist/AlchemyAPI-Microformats-Test.jar

  8. RSS / ATOM Feed Links Extraction: java -jar ../dist/AlchemyAPI-FeedLinks-Test.jar

  9. Sentiment Analysis: java -jar ../dist/AlchemyAPI-Sentiment-Test.jar

  10. Relations: java -jar ../dist/AlchemyAPI-Relations-Test.jar

  11. Example of using the parameters object: java -jar ../dist/AlchemyAPI-Parameter-Test.jar

  12. Author Extraction: java -jar ../dist/AlchemyAPI-Author-Test.jar

  13. Combined Data Extraction: java -jar ../dist/AlchemyAPI-Combined-Test.jar

  14. Ranked Taxonomy Extraction: java -jar ../dist/AlchemyAPI-Taxonomy-Test.jar

  15. Image Extraction: java -jar ../dist/AlchemyAPI-Image-Test.jar

DEPENDENCIES

This module requires these other modules and libraries:

Java JDK 1.5.x ANT (to build the packages) JUnit (optional, to build the tests)

COPYRIGHT AND LICENCE

Copyright (C) Orchestr8, LLC.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl version 5.8.5 or, at your option, any later version of Perl 5 you may have available.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 67.8%
  • Java 32.2%
0