示例#1
0
 protected override TinySegmenterDotNet.PreSegment ChangePreSegment(TinySegmenterDotNet.PreSegment pre)
 {
     return pre.TakeMention();
 }
示例#2
0
 protected override TinySegmenterDotNet.PreSegment ChangePreSegment(TinySegmenterDotNet.PreSegment pre)
 {
     return pre.SkipUrl();
 }
示例#3
0
 protected virtual TinySegmenterDotNet.PreSegment ChangePreSegment(TinySegmenterDotNet.PreSegment pre)
 {
     return pre;
 }
示例#4
0
 protected override TinySegmenterDotNet.PreSegment ChangePreSegment(TinySegmenterDotNet.PreSegment pre)
 {
     return pre.SkipRegex(Pattern);
 }
示例#5
0
 public TinySegmenterDotNet.PreSegment Run(TinySegmenterDotNet.PreSegment pre)
 {
     pre = ChangePreSegment(pre);
     if(Child !=null) return Child.Run(pre);
     return pre;
 }