@classmethod
    def readFromFile(cls, parent, stream, readDTS=True):
        name = stream.readWord()
        w = stream.readWord()
        try:
            parentCount = int(w)
            per_utterance = False
        except __HOLE__:
            per_utterance = True

        if not per_utterance:
            tree = TreeBranch.readFromFile(stream)
            return cls(parent, name, parentCount, tree)
        else:
            return DTs(parent, w, readDTS)
dataset/ETHPy150Open uci-cbcl/tree-hmm/gmtkParam/__init__.py/DT.readFromFile