基于论文 A Biologically Plausible Parser 伪代码及论文仓库 实现自然语言的依赖解析。
- c++17
- GCC 7.5
- cmake 3.14
- linux only
- 正确性测试:
cd test cmake -S . -B build cmake --build build cd build && ctest
使用
ctest -V可查看每个句子的依赖解析结果 - 性能测试
cd performance cmake -S . -B build cmake --build build cd build && ./performance_test
@article{mitropolsky2021biologically,
title={A biologically plausible parser},
author={Mitropolsky, Daniel and Collins, Michael J and Papadimitriou, Christos H},
journal={Transactions of the Association for Computational Linguistics},
year={2021},
}