回复: 新人报道,求助“如何查找subordinate clause"
请问如何搜索标注文本(POS Annotation)和未标注文本中每一句开头的一个单词和两个单词?
未标注文本示例:
Zidane remains best-loved French despite head-butt
Zinedine Zidane remains France's best-loved personality despite his head-butt against Italy's Marco Materazzi in the 2006 soccer World Cup final, a survey showed on Saturday.
Zidane came first in a ranking of France's Top 50 personalities, beating ex-tennis champion Yannick Noah who came in the second place, and leaving singers Charles Aznavour and Johnny Hallyday, as well as actor Gerard Depardieu behind.
The footballer had already come first in a comparable survey by pollster Ifop six months ago.
Socialist presidential candidate Segolene Royal came in 23rd place, up from 49th in last July, and her likely conservative challenger for next year's election, Nicolas Sarkozy, came 42nd in the Ifop poll.
Sarkozy had not appeared on the list in July.
Both Royal and Sarkozy were overtaken by television star Nicolas Hulot, who has threatened to run for president unless mainstream politicians do more for the environment. He came third in the poll of 1,064 people.
Zidane was shown a red card 10 minutes before the end of extra time in the July 9 final after head butting Materazzi in the chest. That ensured he missed the penalty shootout that decided the match in Italy's favour.
The incident inspired the summer hit "Coup de Boule" (Head Butt) in France, and an Italian designer has come up with a line of sweatshirts with two stick figures depicting the incident printed on the back.
标注文本示例:
Zidane_NN1 remains_VVZ best-loved_JJ French_NN1 despite_II head-butt_JJ
Zinedine_NP1 Zidane_NP1 remains_VVZ France_NP1 's_GE best-loved_JJ
personality_NN1 despite_II his_APPGE head-butt_NN1 against_II Italy_NP1 's_GE
Marco_NP1 Materazzi_NP1 in_II the_AT 2006_MC soccer_NN1 World_NN1 Cup_NN1
final_NN1 ,_, a_AT1 survey_NN1 showed_VVD on_II Saturday_NPD1 ._.
Zidane_NP1 came_VVD first_MD in_II a_AT1 ranking_NN1 of_IO France_NP1 's_GE
Top_NN1 50_MC personalities_NN2 ,_, beating_VVG ex-tennis_JJ champion_NN1
Yannick_NP1 Noah_NP1 who_PNQS came_VVD in_II the_AT second_MD place_NN1 ,_,
and_CC leaving_VVG singers_NN2 Charles_NP1 Aznavour_NP1 and_CC Johnny_NP1
Hallyday_NP1 ,_, as_II31 well_II32 as_II33 actor_NN1 Gerard_NP1 Depardieu_NP1
behind_RL ._.
The_AT footballer_NN1 had_VHD already_RR come_VVN first_MD in_II a_AT1
comparable_JJ survey_NN1 by_II pollster_NN1 Ifop_NN1 six_MC months_NNT2 ago_RA
._.
Socialist_JJ presidential_JJ candidate_NN1 Segolene_NP1 Royal_JJ came_VVD
in_II 23rd_MD place_NN1 ,_, up_RP from_II 49th_MD in_II last_MD July_NPM1 ,_,
and_CC her_APPGE likely_JJ conservative_JJ challenger_NN1 for_IF next_MD
year_NNT1 's_GE election_NN1 ,_, Nicolas_NP1 Sarkozy_NP1 ,_, came_VVD 42nd_MD
in_II the_AT Ifop_NN1 poll_NN1 ._.
Sarkozy_NP1 had_VHD not_XX appeared_VVN on_II the_AT list_NN1 in_II July_NPM1
._.
Both_RR Royal_JJ and_CC Sarkozy_NP1 were_VBDR overtaken_VVN by_II
television_NN1 star_NN1 Nicolas_NP1 Hulot_NP1 ,_, who_PNQS has_VHZ
threatened_VVN to_TO run_VVI for_IF president_NN1 unless_CS mainstream_JJ
politicians_NN2 do_VD0 more_DAR for_IF the_AT environment_NN1 ._.
He_PPHS1 came_VVD third_MD in_II the_AT poll_NN1 of_IO 1,064_MC people_NN ._.
Zidane_NN1 was_VBDZ shown_VVN a_AT1 red_JJ card_NN1 10_MC minutes_NNT2
before_II the_AT end_NN1 of_IO extra_JJ time_NNT1 in_II the_AT July_NPM1 9_MC
final_JJ after_II head_NN1 butting_VVG Materazzi_NN1 in_II the_AT chest_NN1
._.
That_DD1 ensured_VVD he_PPHS1 missed_VVD the_AT penalty_NN1 shootout_VV0
that_CST decided_VVD the_AT match_NN1 in_II Italy_NP1 's_GE favour_NN1 ._.
The_AT incident_NN1 inspired_VVD the_AT summer_NNT1 hit_VVD "_" Coup_NN1
de_NP1 Boule_NP1 "_" (_( Head_NN1 Butt_NN1 )_) in_II France_NP1 ,_, and_CC
an_AT1 Italian_JJ designer_NN1 has_VHZ come_VVN up_RP with_IW a_AT1 line_NN1
of_IO sweatshirts_NN2 with_IW two_MC stick_NN1 figures_NN2 depicting_VVG
the_AT incident_NN1 printed_VVN on_II the_AT back_NN1 ._.
谢谢!