[FONT=宋体]有一批词块,欲生成它们的块首词词表(如[/FONT]I WAS SORT OF[FONT=宋体]的块首词是[/FONT]I[FONT=宋体],[/FONT]RM I DON'T KNOW[FONT=宋体]的块首词是[/FONT]ERM,词表见下文)。
本论坛上有好心C友(如liubing1986snowy, seanxpq )建议我用powergrep[FONT=宋体]批量提取、[FONT=宋体]用正则表达式(如^(\S+)\s, ^(\w+)\s)提取。[/FONT][/FONT]
[FONT=宋体][FONT=宋体]已下载Powergrep试用版,只是不懂如何操作。没使用过该软件嘛,真是摸不着北![/FONT][/FONT]
[FONT=宋体][FONT=宋体]可以指点指点吗?万分感谢![/FONT][/FONT]
[FONT=宋体]词块如下:[/FONT]
RM I DON'T KNOW
A GOOD FILM AND
DON'T KNOW I DON'T
GO AND SEE IT
PAINTING A PICTURE OF
HAD A LOT OF
A LOOK AT IT
A REALLY GOOD FILM
A COUPLE OF WEEKS
END OF THE DAY
LOT OF THE TIME
IN MY FIRST YEAR
IN THE FIRST PICTURE
LIKE TO GO BACK
I DON'T KNOW IT
I MEAN I I
I MEAN IT'S A
I THINK IT'S A
I HAD TO DO
I WAS LIKE OH
I WAS SORT OF
本论坛上有好心C友(如liubing1986snowy, seanxpq )建议我用powergrep[FONT=宋体]批量提取、[FONT=宋体]用正则表达式(如^(\S+)\s, ^(\w+)\s)提取。[/FONT][/FONT]
[FONT=宋体][FONT=宋体]已下载Powergrep试用版,只是不懂如何操作。没使用过该软件嘛,真是摸不着北![/FONT][/FONT]
[FONT=宋体][FONT=宋体]可以指点指点吗?万分感谢![/FONT][/FONT]
[FONT=宋体]词块如下:[/FONT]
RM I DON'T KNOW
A GOOD FILM AND
DON'T KNOW I DON'T
GO AND SEE IT
PAINTING A PICTURE OF
HAD A LOT OF
A LOOK AT IT
A REALLY GOOD FILM
A COUPLE OF WEEKS
END OF THE DAY
LOT OF THE TIME
IN MY FIRST YEAR
IN THE FIRST PICTURE
LIKE TO GO BACK
I DON'T KNOW IT
I MEAN I I
I MEAN IT'S A
I THINK IT'S A
I HAD TO DO
I WAS LIKE OH
I WAS SORT OF