开发者

Automatically create title from a given text

开发者 https://www.devze.com 2023-03-21 19:32 出处:网络
I am trying to write a program that wi开发者_C百科ll give an apt title when an article is give ( usually an abstract). Is there any standard algorithm available?If you want to do it by hand, you\'d ha

I am trying to write a program that wi开发者_C百科ll give an apt title when an article is give ( usually an abstract). Is there any standard algorithm available?


If you want to do it by hand, you'd have to start with something like word frequency counting, then analyzing phrases that appear a lot or words that appear around each other. I have only briefly touched this topic in Java, but there seems to be a good book for Python that deals with text analysis:

Text Processing in Python

OpenFTS, an open full text search engine has a Python interface, called [PyFTS].3

Check it out. Maybe that's what you want.

0

精彩评论

暂无评论...
验证码 换一张
取 消