【发布时间】:2011-12-27 12:48:41
【问题描述】:
假设我有长文本。从以下文本中,我只需要抽象部分。如何避免{{ }} 之间的文本。谢谢
`
{{ Info extra text}}
{{Infobox film
| name = Papori
| released = 1986
| runtime = 144 minutes
| country = Assam, {{IND}}
| budget = [[a]]
| followed by = free
}}
Albert Einstein ( /'ælb?rt 'a?nsta?n/; German: ['alb?t 'a?n?ta?n] ( listen); 14 March 1879 – 18 April 1955)
was a German-born theoretical physicist who developed the theory of general relativity, effecting a
revolution in physics. For this achievement, Einstein is often regarded as the father of modern physics
and one of the most prolific intellects in human history.`
输出:
Albert Einstein ( /'ælb?rt 'a?nsta?n/; German: ['alb?t 'a?n?ta?n] ( listen); 14 March 1879 – 18 April 1955)
was a German-born theoretical physicist who developed the theory of general relativity, effecting a
revolution in physics. For this achievement, Einstein is often regarded as the father of modern physics
and one of the most prolific intellects in human history.
【问题讨论】:
-
如果您真的只是询问如何从 Wikipedia 文章中获取摘要,请注意 DBpedia 的优秀人员以结构化方式提供 Wikipedia 文章(以及处理 wiki 标记)。
-
@John Flatness DBpedia 是否提供
API? -
这是您关于做同样事情的第三个问题。如果之前的答案对您不起作用更新问题,不要只是一遍又一遍地问。