def __init__(self, trainedweights = list()): self.trainedweights = trainedweights self.START = -1 self.learningrate = Constants.INITIAL_LEARNING_RATE self.possibletags = [SparseType.TABLELINE, SparseType.NONTABLELINE]#domain specific self.G1 = [0.01,0.99] #domain specific self.Features = CRFFeatures() self.differenceweights = list()