(self, test=None, refs=None, n=4, sigma=6.0)
singular instance
singular instance
singular instance
def __init__(self, test=None, refs=None, n=4, sigma=6.0):
        ''' singular instance '''
        self.n = n
        self.sigma = sigma
        self.crefs = []
        self.ctest = []
        self.document_frequency = defaultdict(float)
        self.cook_append(test, refs)
        self.ref_len = None
def __init__ ( self , test = None , refs = None , n = 4 , sigma = 6.0 ) : self . n = n self . sigma = sigma self . crefs = [ ] self . ctest = [ ] self . document_frequency = defaultdict ( float ) self . cook_append ( test , refs ) self . ref_len = None