Package org.lionsoul.jcseg.test
Class JcsegTest
- java.lang.Object
-
- org.lionsoul.jcseg.test.JcsegTest
-
public class JcsegTest extends Object
Jcseg test program.- Author:
- chenxin
-
-
Constructor Summary
Constructors Constructor Description JcsegTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidkeyphrase(String str)keyphrase extractorvoidkeywords(String str)keywords extractorstatic voidmain(String[] args)voidresetMode(String name)voidsentence(String str)key sentence extractorvoidsummary(String str)summary extractorvoidtokenize(String str)string tokenize handler
-
-
-
Constructor Detail
-
JcsegTest
public JcsegTest() throws IOException, CloneNotSupportedException
-
-
Method Detail
-
tokenize
public void tokenize(String str) throws IOException
string tokenize handler- Parameters:
str-- Throws:
IOException
-
resetMode
public void resetMode(String name)
-
keywords
public void keywords(String str) throws IOException
keywords extractor- Parameters:
str-- Throws:
IOException
-
keyphrase
public void keyphrase(String str) throws IOException
keyphrase extractor- Parameters:
str-- Throws:
IOException
-
sentence
public void sentence(String str) throws IOException
key sentence extractor- Parameters:
str-- Throws:
IOException
-
summary
public void summary(String str) throws IOException
summary extractor- Parameters:
str-- Throws:
IOException
-
main
public static void main(String[] args) throws IOException, CloneNotSupportedException
-
-