[导入]ICTCLAS.dll for JAVA 函数接口
最重要部分
public synchronized native boolean init(int j, int i);
public synchronized native String paragraphProcess(String sParagraph);
public synchronized native boolean fileProcess(String source,String target);
文章来源:http://www.gins.cn/blog/article.asp?id=52
public synchronized native boolean init(int j, int i);
public synchronized native String paragraphProcess(String sParagraph);
public synchronized native boolean fileProcess(String source,String target);
import com.xjt.nlp.word.*;
public class ICTCLASTest {
public static void main (String [] args) {
ICTCLAS instance = ICTCLAS.getInstance();
instance.init(j, i);
public class ICTCLASTest {
public static void main (String [] args) {
ICTCLAS instance = ICTCLAS.getInstance();
instance.init(j, i);
文章来源:http://www.gins.cn/blog/article.asp?id=52