samples
Kirin Alexander <[email protected]> Tue, 10 Apr 2007 11:13:44 +0400
| Newsgroups | gmane.comp.java.exteca.user |
|---|---|
| Message-ID | <[email protected]> |
Hello!
i'm trying to build an application which will categarise different rss feeds related to a particular industry and it looks like exteca may be a solution.
I'm trying to run the sapmle, but get no results. Here is the code:
public class Test {
private static Log log = LogFactory.getLog(Categorise.class);
private static String docs = "E:\\projects\\exteca\\samples\\data\\documents\\";
private static String stem = "E:\\projects\\exteca\\samples\\data\\language\\english.stm";
private static String token = "E:\\projects\\exteca\\samples\\data\\language\\english.tok";
private static String ontology = "E:\\projects\\exteca\\samples\\data\\ontologies\\doctor.xml";
public static void main(String[] args){
try {
Categorise cat = new Categorise(docs, token, stem, ontology);
//System.out.print("Running... ");
cat.run();
//System.out.println("done.");
} catch (Exception e) {
e.printStackTrace();
}
}
}
It seems that documents, stems,tokens are loaded ok, but there's no result output. metaData.getConceptResults() returns 0 records for all docs.
what reason may cause this?
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV