注意点: 1,包名一定要是ICTCLAS.I3S.AC
2,要在ICTCLAS50.java这里System.loadLibrary("ICTCLAS50");而且要做方法的声明
eg: public native boolean ICTCLAS_Init(byte[] sPath);
public native boolean ICTCLAS_Exit();
public native int ICTCLAS_ImportUserDictFile(byte[] sPath,int eCodeType);
public native int ICTCLAS_SaveTheUsrDic();
public native int ICTCLAS_SetPOSmap(int nPOSmap);
public native boolean ICTCLAS_FileProcess(byte[] sSrcFilename, int eCodeType, int bPOSTagged,byte[] sDestFilename);
public native byte[] ICTCLAS_ParagraphProcess(byte[] sSrc, int eCodeType, int bPOSTagged);
public native byte[] nativeProcAPara(byte[] sSrc, int eCodeType, int bPOStagged);
具体的方法和参数请看http://blog.csdn.net/surehao/article/details/19202735
demo项目代码请点:http://download.csdn.net/detail/surehao/6922979