Project

General

Profile

Getting Started » History » Version 6

Prokopis Prokopidis, 2012-10-24 09:25 PM

1 1 Prokopis Prokopidis
h1. Getting Started
2 2 Prokopis Prokopidis
3 2 Prokopis Prokopidis
Once you [[DeveloperSetup|build]] or [[HowToGet|download]] an ilsp-fc runnable jar, you can run it like this
4 2 Prokopis Prokopidis
5 2 Prokopis Prokopidis
<pre>
6 5 Prokopis Prokopidis
<code class="bash">
7 6 Prokopis Prokopidis
java -jar my.jar</code></pre>
8 2 Prokopis Prokopidis
9 2 Prokopis Prokopidis
h2. Run a monolingual crawl
10 2 Prokopis Prokopidis
11 2 Prokopis Prokopidis
h2. Run a bilingual crawl
12 2 Prokopis Prokopidis
13 2 Prokopis Prokopidis
h2. Example of java code
14 2 Prokopis Prokopidis
<pre>
15 2 Prokopis Prokopidis
<code class="java">
16 2 Prokopis Prokopidis
package gr.ilsp.fmc.classifier;
17 2 Prokopis Prokopidis
18 2 Prokopis Prokopidis
public enum ClassifierCounters {
19 2 Prokopis Prokopidis
    CLASSIFIER_DOCUMENTS_PASSED,   // successfully classified a document.
20 2 Prokopis Prokopidis
    CLASSIFIER_DOCUMENTS_FAILED,   // failed to classify a document
21 2 Prokopis Prokopidis
    CLASSIFIER_DOCUMENTS_ABORTED, 
22 2 Prokopis Prokopidis
    CLASSIFIER_TIME
23 2 Prokopis Prokopidis
}
24 2 Prokopis Prokopidis
25 2 Prokopis Prokopidis
</code>
26 2 Prokopis Prokopidis
</pre>
27 2 Prokopis Prokopidis
28 2 Prokopis Prokopidis
<pre>
29 2 Prokopis Prokopidis
<code class="xml">
30 2 Prokopis Prokopidis
<?xml version="1.0" encoding="UTF-8"?>
31 2 Prokopis Prokopidis
<configuration>
32 2 Prokopis Prokopidis
        <agent>
33 2 Prokopis Prokopidis
                <email>yourmail@mail.com</email>
34 2 Prokopis Prokopidis
                <web_address>www.youraddress.com</web_address>
35 2 Prokopis Prokopidis
        </agent>
36 2 Prokopis Prokopidis
</configuration>
37 2 Prokopis Prokopidis
</code>
38 2 Prokopis Prokopidis
</pre>