/// <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; }
/// <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); }