示例#1
0
文件: features.py 项目: chloebt/educe
 def __init__(self):
     desc = self.__doc__.strip()
     keys =\
         [Key.meta("id",
                   "some sort of unique identifier for the EDU")]
     super(SingleArgSubgroup_Meta, self).__init__(desc, keys)
示例#2
0
文件: features.py 项目: chloebt/educe
 def __init__(self):
     desc = self.__doc__.strip()
     keys = [Key.meta("text",
                      "text from DU1 start to DU2 end [debug only]")]
     super(RelSubgroup_Debug, self).__init__(desc, keys)
示例#3
0
文件: features.py 项目: chloebt/educe
 def __init__(self):
     desc = self.__doc__.strip()
     keys =\
         [Key.meta("document", "document the relation appears in"),
          Key.meta("id", "id for this relation")]
     super(RelSubGroup_Core, self).__init__(desc, keys)
示例#4
0
文件: features.py 项目: chloebt/educe
 def __init__(self):
     desc = self.__doc__.strip()
     keys = [Key.meta("text", "EDU text [debug only]")]
     super(SingleArgSubgroup_Debug, self).__init__(desc, keys)