main.cpp

来自「汉语词法分析系统ICTCLAS windows版本,我将FreeICTCLASL」· C++ 代码 · 共 18 行

CPP
18
字号
#include <iostream>
#include "Utility.h"
#include "Result.h"
using namespace std;
//outputFormat和operateType可设不同的值,得到不同的输出格式(0-2)
int main() {
	CResult worker;
	int		outputFormat = 0;
	int		operateType = 2;
	char *in = "我是中国人。";
	char result[1000];
	worker.m_nOperateType = operateType;
	worker.m_nOutputFormat = outputFormat;
	worker.ParagraphProcessing(in, result);
	cout<<result<<endl;
	return 0;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?