예제 #1
0
 def __init__(self, discourse_id=None):
     """
     This class is used to parse the Prolog DRS output from Boxer into a
     hierarchy of python objects.
     """
     DrtParser.__init__(self)
     self.discourse_id = discourse_id
     self.sentence_id_offset = None
     self.quote_chars = [("'", "'", "\\", False)]
예제 #2
0
파일: boxer.py 프로젝트: wardbradt/nltk
 def __init__(self, discourse_id=None):
     """
     This class is used to parse the Prolog DRS output from Boxer into a
     hierarchy of python objects.
     """
     DrtParser.__init__(self)
     self.discourse_id = discourse_id
     self.sentence_id_offset = None
     self.quote_chars = [("'", "'", "\\", False)]
예제 #3
0
 def __init__(self, discourse_id=None):
     DrtParser.__init__(self)
     self.discourse_id = discourse_id
예제 #4
0
 def __init__(self, discourse_id=None):
     DrtParser.__init__(self)
     self.discourse_id = discourse_id