如何在自建立语料库中提取出专有名词呢?
正则表达式,望赐教。
例如在这段文字中
6.6 Earthquake Strikes Indonesia
VOA News
August 18, 2012
A strong earthquake has struck the Indonesian island of Sulawesi.
The U.S. Geological Survey says the 6.6 magnitude quake struck late Saturday afternoon (5:40 p.m. local time - 0940 UTC) 56 kilometers from the town of Palu at a relatively shallow depth of 20 kilometers.
There are no immediate reports of damage or casualties. The French news agency reports panicked residents in Palu ran from their homes as the ground shook.
正则表达式,望赐教。
例如在这段文字中
6.6 Earthquake Strikes Indonesia
VOA News
August 18, 2012
A strong earthquake has struck the Indonesian island of Sulawesi.
The U.S. Geological Survey says the 6.6 magnitude quake struck late Saturday afternoon (5:40 p.m. local time - 0940 UTC) 56 kilometers from the town of Palu at a relatively shallow depth of 20 kilometers.
There are no immediate reports of damage or casualties. The French news agency reports panicked residents in Palu ran from their homes as the ground shook.