示例#1
0
 /// <summary>
 /// 初始化。
 /// </summary>
 /// <param name="sInitDirPath">Data所在目录。</param>
 /// <param name="encoding">编码类型。</param>
 /// <returns>是否执行成功。</returns>
 public static bool Init(string sInitDirPath, NlpirCode encoding)
 {
     _Init = NLPIR_Init(sInitDirPath, (int)encoding);
     return _Init;
 }
示例#2
0
 /// <summary>
 /// 初始化。
 /// </summary>
 /// <param name="sInitDirPath">Data所在目录。</param>
 /// <param name="encoding">编码类型。</param>
 /// <returns>是否执行成功。</returns>
 public static bool Init(string sInitDirPath, NlpirCode encoding)
 {
     _Init = NLPIR_Init(sInitDirPath, (int)encoding);
     return(_Init);
 }