Skip to content

Commit

Permalink
Update api.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
endyul committed Mar 13, 2015
1 parent 943d82c commit 0d0b138
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ Linux

销毁成功时返回0,否则返回-1

.. cpp:function:: int postagger_postag(void * postagger, const std::vector<std::string> & words, std::vector<std::string> tags)
.. cpp:function:: int postagger_postag(void * postagger, const std::vector<std::string> & words, std::vector<std::string> & tags)

功能:

Expand Down Expand Up @@ -460,7 +460,7 @@ Linux
+------------------------------------------+--------------------------------------------------------------------+
| const std::vector<std::string> & words | 待分析的词序列 |
+------------------------------------------+--------------------------------------------------------------------+
| const std::vector<std::string> & postags | 待分析的词序列 |
| const std::vector<std::string> & postags | 待分析的词的词性序列 |
+------------------------------------------+--------------------------------------------------------------------+
| std::vector<int> & heads | 结果依存弧,heads[i]代表第i个词的父亲节点的编号 |
+------------------------------------------+--------------------------------------------------------------------+
Expand Down

0 comments on commit 0d0b138

Please sign in to comment.