摘要:
出于需要,自己写了个分割句子用的正则表达式,考虑了各种特殊情况,所以写的比较长 public static Regex UselessPunctionRegex = new Regex(@"'(?!(s|t|re|m)( |$))|\.$|\. |\.{2,}|©|`|~|!|@|#|\$|%|\^|\*|\(|\)|(^|[^\w])-+|-+($|[^\w])|_|=|\+|\[|\]... 阅读全文
posted @ 2012-07-05 17:35
伍浩铖
阅读(3537)
评论(2)
推荐(1)