From 0d0b13843c8c86c299e2eae6da708b6d302c5344 Mon Sep 17 00:00:00 2001 From: Oliver Xu Date: Fri, 13 Mar 2015 17:13:54 +0800 Subject: [PATCH] Update api.rst --- doc/api.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api.rst b/doc/api.rst index 6dddb9951..9a00750c3 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -218,7 +218,7 @@ Linux 销毁成功时返回0,否则返回-1 -.. cpp:function:: int postagger_postag(void * postagger, const std::vector & words, std::vector tags) +.. cpp:function:: int postagger_postag(void * postagger, const std::vector & words, std::vector & tags) 功能: @@ -460,7 +460,7 @@ Linux +------------------------------------------+--------------------------------------------------------------------+ | const std::vector & words | 待分析的词序列 | +------------------------------------------+--------------------------------------------------------------------+ - | const std::vector & postags | 待分析的词序列 | + | const std::vector & postags | 待分析的词的词性序列 | +------------------------------------------+--------------------------------------------------------------------+ | std::vector & heads | 结果依存弧,heads[i]代表第i个词的父亲节点的编号 | +------------------------------------------+--------------------------------------------------------------------+