试了半天还是失败Orz
想要请问大家下面的资料中:
1.如何在csv档中只撷取档案中*CHI此句话?
2.如何将换行的文字并到同一行?例如:4与5行是属于同一句文字,如何合并?
感谢大家的帮忙 m(_ _)m
1 *CHI: I saw an elephant go swimming .
2 %mor: pro:sub|I v|see&PAST det:art|a n|elephant v|go part|swim-PRESP .
3 %gra: 1|2|SUBJ 2|0|ROOT 3|4|DET 4|5|SUBJ 5|2|COMP 6|5|OBJ 7|2|PUNCT
4 *CHI: <I saw eleph> [//] I saw the <g> [/] giraffe and the elephant <s>
5 [//] drop ball in the pool .
6 %mor: pro:sub|I v|see&PAST det:art|the n|giraffe coord|and det:art|the
7 n|elephant n|drop n|ball prep|in det:art|the n|pool .
8 %gra: 1|2|SUBJ 2|0|ROOT 3|4|DET 4|2|OBJ 5|4|CONJ 6|9|DET 7|9|MOD 8|9|MOD
9 9|5|COORD 10|9|NJCT 11|12|DET 12|10|POBJ 13|2|PUNCT
10 *CHI: I saw giraffe swimming in the pool to get that ball .