nattaylor/php-teaser

dev-master 2016-07-14 13:40 UTC

This package is not auto-updated.

Last update: 2024-09-18 20:28:15 UTC


README

#php-teaser#

总结文本或文章为几个要点

##使用### 基本上创建一个 Teaser() 实例,然后传递一个 URL 或文本/标题对,它将返回一个句子数组的摘要。

//Ultra-simple Example
$teaser = new Teaser();
$teaser->createSummary("http://www.business2community.com/cloud-computing/confused-saas-paas-iaas-0687173","url"));

##注意##

  • 还有很多要做吗?是的。基本工作了吗?是的。
  • 我尝试仔细记录这个类,但它需要更多细节。这很快就会到来。
  • (显然) 这依赖于源文本有一些好的总结句子。如果没有,我们的摘要会很糟糕。
  • 基于 https://github.com/xiaoxu193/PyTeaser,基于 http://www.textteaser.com/
  • 什么会让这变得更好?调整评分,当然!

##待办事项##