C++ implementation of TextRank.
How to use: see example/example.cpp
.
代码里面会有 xxxx::toLowerCase()
和 xxxx::split()
这两个奇怪的函数。这是因为我自己实现的时候用的特殊的字符串处理库,你们使用时需要自己找库来替换,当然,这两个函数自己写貌似也没特别大的难度。
You may find xxxx::toLowerCase()
and xxxx::split()
in code, because I use a special StringUtil library. You need to implement them by yourself.
letiantian: https://github.com/letiantian/TextRank4ZH.git
comoody: https://github.com/comoody/TextRank.git
lostfish: https://github.com/lostfish/textrank.git