Getting Started » History » Version 10
Prokopis Prokopidis, 2012-10-24 09:33 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 | 10 | Prokopis Prokopidis | <pre><code>java -jar lsp-fc-1.1-jar-with-dependencies.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 | 9 | Prokopis Prokopidis | |
13 | 2 | Prokopis Prokopidis | <pre> |
14 | 2 | Prokopis Prokopidis | <code class="java"> |
15 | 2 | Prokopis Prokopidis | package gr.ilsp.fmc.classifier; |
16 | 2 | Prokopis Prokopidis | |
17 | 2 | Prokopis Prokopidis | public enum ClassifierCounters { |
18 | 2 | Prokopis Prokopidis | CLASSIFIER_DOCUMENTS_PASSED, // successfully classified a document. |
19 | 1 | Prokopis Prokopidis | CLASSIFIER_DOCUMENTS_FAILED, // failed to classify a document |
20 | 2 | Prokopis Prokopidis | CLASSIFIER_DOCUMENTS_ABORTED, |
21 | 2 | Prokopis Prokopidis | CLASSIFIER_TIME |
22 | 8 | Prokopis Prokopidis | }</code></pre> |
23 | 2 | Prokopis Prokopidis | |
24 | 2 | Prokopis Prokopidis | <pre> |
25 | 1 | Prokopis Prokopidis | <code class="xml"> |
26 | 2 | Prokopis Prokopidis | <?xml version="1.0" encoding="UTF-8"?> |
27 | 2 | Prokopis Prokopidis | <configuration> |
28 | 2 | Prokopis Prokopidis | <agent> |
29 | 2 | Prokopis Prokopidis | <email>yourmail@mail.com</email> |
30 | 2 | Prokopis Prokopidis | <web_address>www.youraddress.com</web_address> |
31 | 2 | Prokopis Prokopidis | </agent> |
32 | 8 | Prokopis Prokopidis | </configuration></code></pre> |