def surface ( cls , predstr ) : lemma , pos , sense , _ = split_pred_string ( predstr ) return cls ( Pred . SURFACE , lemma , pos , sense , predstr )
python create sentance from string array
Instantiate a Pred from its quoted string representation .
def surface(cls, predstr):
        """Instantiate a Pred from its quoted string representation."""
        lemma, pos, sense, _ = split_pred_string(predstr)
        return cls(Pred.SURFACE, lemma, pos, sense, predstr)