上海敬游 知乎:regular expression

来源:百度文库 编辑:查人人中国名人网 时间:2024/04/30 02:11:05
Cant type in chinese here so i have to use english, sorry about that.
the problem is that: there are expressions like: 三/m 个/q 发现/n 改写/v; i wanna identify 发现 as MOTN for it is finished with /n at the end. it means that first i have to decide that there is /n at the end of the chain of expression 发现/n, then i would keep JUST the first part 发现 as MOTN (which means now /n should be deleted ).
i dont know how to realise the second stape.
hope someone can help me with this as soon as possible,thanks a lot!!!!!