-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API? #34
Comments
Sorry of lacking sufficient documentation. JATE2 can be used as a library without much effort. As mentioned in Quick Start, You can either 1) download jar from maven repository or add following configuration in your maven project along with Dragontools.
Once you have setup JATE2 libraries, you are able to use all the available ATE algorithms in your application/project. Our App* shows the example how to use and integrate ATE algorithms with Apache Solr. All the available ATE implementations are subclass of We will introduce more documentations in near future. Thanks for your interests. |
I tried AppCValue.main(("uk.ac.shef.dcs.jate.app.AppCValue -corpusDir " + corpusDir + " -o cvalue-terms.json " + solrDir + "/testdata/solr-testbed ACLRDTEC").split(" ")); but I have pdf, txt, and html file under the folder. |
Logger: com.softcorporation.util.Logger I removed all the file in the data folder but still got these messages. |
To run AppCValue programmatically, the main method accepts run-time parameters from the string array with the same order as the command line format. The problem of your implements is that you should not provide class name as parameter if you directly run AppCValue programmatically. So try with the following:
To make it more clearly, you can try with the following code:
Hope it helps. |
Thank you it works. |
I'm wondering if there is any way that I can use it as a library in my application? Could you provide some basic example codes in Wiki? I just want to use the algorithmics.
Thank you.
The text was updated successfully, but these errors were encountered: