[导入]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);
import com.xjt.nlp.word.*;

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

posted on 2006-09-01 16:28  ginseng  阅读(618)  评论(0编辑  收藏  举报

导航