Project

General

Profile

Getting Started » History » Version 8

Prokopis Prokopidis, 2012-10-24 09:30 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 8 Prokopis Prokopidis
<pre><code>java -jar my.jar</code></pre>
6 2 Prokopis Prokopidis
7 2 Prokopis Prokopidis
h2. Run a monolingual crawl
8 2 Prokopis Prokopidis
9 2 Prokopis Prokopidis
h2. Run a bilingual crawl
10 2 Prokopis Prokopidis
11 2 Prokopis Prokopidis
h2. Example of java code
12 2 Prokopis Prokopidis
<pre>
13 2 Prokopis Prokopidis
<code class="java">
14 2 Prokopis Prokopidis
package gr.ilsp.fmc.classifier;
15 2 Prokopis Prokopidis
16 2 Prokopis Prokopidis
public enum ClassifierCounters {
17 2 Prokopis Prokopidis
    CLASSIFIER_DOCUMENTS_PASSED,   // successfully classified a document.
18 1 Prokopis Prokopidis
    CLASSIFIER_DOCUMENTS_FAILED,   // failed to classify a document
19 2 Prokopis Prokopidis
    CLASSIFIER_DOCUMENTS_ABORTED, 
20 2 Prokopis Prokopidis
    CLASSIFIER_TIME
21 8 Prokopis Prokopidis
}</code></pre>
22 2 Prokopis Prokopidis
23 2 Prokopis Prokopidis
<pre>
24 1 Prokopis Prokopidis
<code class="xml">
25 2 Prokopis Prokopidis
<?xml version="1.0" encoding="UTF-8"?>
26 2 Prokopis Prokopidis
<configuration>
27 2 Prokopis Prokopidis
        <agent>
28 2 Prokopis Prokopidis
                <email>yourmail@mail.com</email>
29 2 Prokopis Prokopidis
                <web_address>www.youraddress.com</web_address>
30 2 Prokopis Prokopidis
        </agent>
31 8 Prokopis Prokopidis
</configuration></code></pre>