新人报道,求助“如何查找subordinate clause"

回复: 新人报道,求助“如何查找subordinate clause"

Are those white spaces of half-width or full-width? MS-Word can find and replace both.

还有一个问题,如何将汉语语料中的空格去掉,下面附一段:

[3]30岁刚过,我看到一家 商店橱窗里挂着一件雪白的棉 布婴儿服装,上面绣着小花朵。

谢谢!
 
回复: 新人报道,求助“如何查找subordinate clause"

到这里下载文本整理器 V3.0帮你迅速处理:http://www.downxia.com/downinfo/5.html (页面有美女图,此处省略一千字)

文本整理器是一款针对中文文章格式而设计的文本编辑软件。对一篇格式不规范的文章,只需点击几个按钮,就可把它整理成规范格式。它提供了大量实用的整理工具,可满足各种不同的整理要求,使你从繁琐的修改工作中摆脱出来。它提供的批量整理功能,可以使你在几分钟内整理上百篇文本,再不用为手上的大量不规范的文本发愁了。

  主要功能简介

  ⑴编辑功能:
     编辑功能类似于记事本,可直接编辑各种纯文本文件,如:.txt、.htm、.ini等。

  ⑵对空格的整理:
     去除所有空格:包括半角空格、全角空格、Tab符;
     去除段落首尾空格:用于文字中有英文句子的情况,不至于把有用的空格也去掉;

  ⑶对段落的整理:
     段首缩进:利用在段前加入空格的方式实现缩进,缩进的空格可以是全角空格、半角空格或Tab符; ?
     去除段落间空行:使段落紧密排列;
     合并空行:可把多个空行合并为一个, 用于去除多余的空行;
     只空一行:在没有空行的段落后加入一个空行,有多个空行的段落只保留一个空行,以保证各段落间都只空一行。
     合并段落:把几个段落合并为一个,并去除段落间的空格。
     合并行:把以硬回车换行的行合并为一段。
     段间加空行:在段落后添加一个空行,不论它原来是否有空行。

  ⑷对标点符号的整理:
     对常用标点符号进行半角-全角转换,包括逗号、分号、冒号、引号等多种标点。

  ⑸文字的繁体、简体转换,GB码与BIG5码的转换。

  ⑹其它:包括修正局部乱码、数字字母的大小写和全半角转换、Htm与Txt的转换、字数统计、查看二进制文本、整理C源代码、修改文件扩展名等。

  特色功能:

  ⑴多窗口编辑:
     可同时打开四个文档,并排排列在窗口中,便于进行对照编辑。
  ⑵自动整理:
     可以把几项整理功能设定为整理方案,按方案设定内容一次整理到位,适合于整理多个格式相似整理结果也要求相似的文档。简化了整理过程。
  ⑶批量整理:
     用设定的整理方案对磁盘上的多篇文档成批整理。省事又快捷。特别适合于整理网络小说之类的文档。
  ⑷文件合并:
     把磁盘上选择的文件合并为一个文件。
  ⑸插入功能:
     提供了四个插入文本框,相当于四个可视化剪贴板,而且多样化的插入方式使它比剪贴板更好用。
  ⑹查找功能:
     除了普通的查找/替换功能外,利用替换表可以实现多组关键字的查找/替换,利用界限查找可以实现指定边界的查找/替换。
  ⑺特殊符号的快速输入:
     提供了标点符号、数字序号、特殊符号、希腊字母等九张符号表,可以实现特殊符号的快速输入。
 
回复: 新人报道,求助“如何查找subordinate clause"

谢谢Laohong和Xiaoz,看来Editplus和Word还得好好地摸索。
 
回复: 新人报道,求助“如何查找subordinate clause"

如何用EditPlus使语料起始和中间的空行去掉?
 
回复: 新人报道,求助“如何查找subordinate clause"

使用文本整理器 V3.0只能去掉段落间的空行。
 
回复: 新人报道,求助“如何查找subordinate clause"

如果使用EditPlus,在查找内容中输入“^[ \t]*\n”(没有引号),在替换内容中什么都别输入,勾上“正则表达式”,执行“全部替换”,反复执行几次可以将无论是任何地方的空格都可以去掉。

Good Luck!
 
回复: 新人报道,求助“如何查找subordinate clause"

你的方法能够去掉任何地方的空行。
 
回复: 新人报道,求助“如何查找subordinate clause"

还有一个问题,就是无论是LOB还是BROWN语料库其每行的行首都要给出诸如A01 0010, A01 0011,.........B01 0010 ..........
请问如何将他们去掉?
谢谢!
 
回复: 新人报道,求助“如何查找subordinate clause"

同样的方法,在EditPlus里用Regular Expression来Replace:
[A-Z][0-9]+ [0-9]+
 
回复: 新人报道,求助“如何查找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 ._.

谢谢!
 
Back
顶部