Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
|
||
folder2index | ||
------------ | ||
|
||
Converts PDF, TXT or HTML documents to a Lucene index (for use with Carrot2 Clustering Workbench) | ||
|
||
Quick usage guide | ||
----------------- | ||
|
||
- install Apache Maven. | ||
|
||
- run: | ||
mvn clean package | ||
|
||
- cd target | ||
|
||
- prepare a folder FOO with your PDF, HTML or plain text files. Prepare an empty folder BAR | ||
for the index. | ||
|
||
- run: | ||
|
||
java -jar folder2index-0.0.2.jar --folder FOO --index BAR --use-tika | ||
|
||
The index will be created. Download and open Carrot2 Workbench. | ||
|
||
http://project.carrot2.org/download.html | ||
|
||
Select Lucene as the document source and pick the correct fields for the title, content and URL (pick file path as | ||
the URL field). | ||
|
||
http://download.carrot2.org/head/manual/index.html#section.getting-started.lucene | ||
|
||
Select other input options (how many results to cluster, query or *:*) and run your clustering. |