Example #1
0
    def __init__(self, sent_id, raw_text, doc):
        BaseRepresentation.__init__(self)

        self.sent_id = sent_id
        self.raw_text = raw_text
        self.doc = doc

        self.tokens = []
        self.dependencies = []

        self.unlexicalized_parse_tree = None
        self.parse_tree = None
        self.heads = None
Example #2
0
 def __init__(self, sent_id, raw_text, doc):
     BaseRepresentation.__init__(self)
     
     self.sent_id = sent_id
     self.raw_text = raw_text
     self.doc = doc
     
     self.tokens = []
     self.dependencies = []
     
     self.unlexicalized_parse_tree = None
     self.parse_tree = None
     self.heads = None
    def __init__(self):
        BaseRepresentation.__init__(self)

        self.preprocessed = False
        self.segmented = False
        self.parsed = False

        self.sentences = []
        self.edus = None
        self.cuts = None
        self.edu_word_segmentation = None
        self.start_edu = None
        self.end_edu = None
        self.discourse_tree = None
Example #4
0
    def __init__(self,
                 ssplit_filename=None,
                 dis_filename=None,
                 edu_filename=None,
                 parse_filename=None,
                 heads_filename=None,
                 deps_filename=None):

        BaseRepresentation.__init__(self)

        self.preprocessed = False
        self.segmented = False
        self.parsed = False

        self.sentences = []
        self.edus = None
        self.cuts = None
        self.edu_word_segmentation = None
        self.start_edu = None
        self.end_edu = None
        self.discourse_tree = None
Example #5
0
 def __init__(self, 
              ssplit_filename = None, 
              dis_filename = None, 
              edu_filename = None,
              parse_filename = None, 
              heads_filename = None,
              deps_filename = None):
     
     BaseRepresentation.__init__(self)
     
     self.preprocessed = False
     self.segmented = False
     self.parsed = False
     
     self.sentences = []
     self.edus = None
     self.cuts = None
     self.edu_word_segmentation = None
     self.start_edu = None
     self.end_edu = None
     self.discourse_tree = None