Skip to content

Commit

Permalink
Merge pull request HIT-SCIR#297 from HIT-SCIR/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
liu946 authored Mar 21, 2018
2 parents cdb7404 + a89f9a2 commit a389a04
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions doc/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,19 @@

右键工程->Configuration properties->c/c++->general->additional include directories

.. image:: http://ir.hit.edu.cn/ltp-2014/images/include.png
.. image:: http://p5xnn6ehz.bkt.clouddn.com/ltp-doc-img-3.6.1-1.png

2. 添加动态库路径

右键工程->Configuration properties->linker->general->additional library directories

.. image:: http://ir.hit.edu.cn/ltp-2014/images/lib.png
.. image:: http://p5xnn6ehz.bkt.clouddn.com/ltp-doc-img-3.6.1-2.png

3. 导入所需的动态库

右键工程->properties->linker->input->additional additional dependencies

.. image:: http://ir.hit.edu.cn/ltp-2014/images/import.png
.. image:: http://p5xnn6ehz.bkt.clouddn.com/ltp-doc-img-3.6.1-3.png

4. 最后,Build工程即可。

Expand Down
4 changes: 2 additions & 2 deletions src/srl/include/extractor/Converter.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ namespace extractor{
debug.debug("Convert '%s' to '%s' finish. generate %u %s items", T1::getClassName().c_str(), T2::getClassName().c_str(), data.size(), T2::getClassName().c_str());
}

virtual void beforeConvert() {} // 开始转换之前
virtual void beforeConvert() {}
virtual void convert(T1 &) = 0;
virtual void afterConvert() {} // 结束之后
virtual void afterConvert() {}

virtual void insert(T2 item) {
data.push_back(item);
Expand Down

0 comments on commit a389a04

Please sign in to comment.