Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(4)  |  Derive(0)  |  Import(4)

src/t/i/TinySegmenterMaker-HEAD/Segmenter.py   TinySegmenterMaker(Download)
# -*- coding:utf-8 -*-
 
from AdaBoost import AdaBoost
import re
 
    def __init__(self, learner = None):
        self.learner = learner or AdaBoost()
 
    def getType(self, ch):
        for pattern, sType in self.patterns: