wyyuki: 2007年8月

Start Topic

Popular topics

合并排序问题 Perl 编写讨论区

user-pic
Vote 0 Votes
不好意思,编了一个类似检索的程序,目前输出遇到了问题。想请教一下。比如说我有两个输出文件,a和b,内容分别如下a的内容为##2There are 2 entities.##1There is 1 entity.b的内容为##2Tomorrow is another day.##1What a nice day!我现在要把这两个文件合并成一个文件,输出为##2There are 2 entities.Tomorrow is another day.##1There is 1 entity.What a nice day!也就是说,读取两个文件,遇到##2的话就把##2下面的句子提取出来放到一起,然后所有的##2下面的句子处理完了之后,再找到##1下面的句子放到一起。如果用perl的话,怎么来实现?...

1 Reply

Last Reply

user-pic

Forum Groups

Perl 程序讨论区

12 50

Last Topic: [注意]本区文章归档区 by 路杨 on 2006年10月16日

76 326

Last Topic: [讨论]perl中的感叹号能否去掉 by icyheart on 2007年10月29日

事物处理及其他

111 1399

Last Topic: [原创]来报到。 by liguang3333 on 2007年12月29日

测试私密区

测试私密区

18 88

Notice: 用于测试程序或者不可告人之秘密。不要问我要密码哦。。[此为原LB_ES论坛系统保留项,只限原有权限朋友进入,不再接受注册]

站点链接|Blogroll

常用Perl连接
Blogger
  • Ikias.com | IKias的Blog,大量MT资源和一些软件技巧
  • 月光博客 | 月光:关注互联网和搜索引擎的IT评论博客
  • 原生脑浆 | Just 平生一笑,MT资源,中文化,MT Hack
  • Yang Kang | 杨康的Blog : MT资源
  • AnySQL | MyDUL 工具 , 关注 Oracle数据库恢复与服务
  • Fenng | DBA notes, ALi Fenng 的Blog,技术性很强
  • 车东[Blog^2] | Che, Dong 车东大侠
  • 雪雾雰霏 | BB's Blog,雪雾雰霏,关注 MT ,中移动
  • leavic | LifeTyper,毕勤,观点尖锐
PerlChina
  • Fayland | Fayland and Perl Programming, 非四.
  • cnhackTNT | -=-atZone-=-
  • Chunzi | 三下五除二,春子,PerlChina 站点发起者之一
  • cnangel | My Study , 北京Yahoo. Perl fans
Friends
  • 东博 | 智能算法博客,关注智能算法,东风大哥,老朋友
  • 芳华 | 一个人的歌,刹那回首,芳华依旧,玫瑰满院 :D
  • 圈圈 | 轻松Cookies,圈儿妹,才女华服,天使白衣
OpenID accepted here Learn more about OpenID