コード例 #1
0
 def get_bert_input(self, qualia_theorem: str) -> [str]:
     return [
         to_bert_seq('to {} a complete {}'.format(MASK, qualia_theorem),
                     qualia_theorem),
         to_bert_seq('to {} complete {}'.format(MASK, qualia_theorem),
                     qualia_theorem)
     ]
コード例 #2
0
 def get_bert_input(self, qualia_theorem: str) -> [str]:
     return [
         to_bert_seq('a new {} has been {}'.format(qualia_theorem, MASK),
                     qualia_theorem),
         to_bert_seq('new {} has been {}'.format(qualia_theorem, MASK),
                     qualia_theorem)
     ]
コード例 #3
0
 def get_bert_input(self, qualia_theorem: str) -> [str]:
     return [
         to_bert_seq('a|an {} comprises'.format(qualia_theorem),
                     qualia_theorem),
         to_bert_seq('a|an {} comprises of'.format(qualia_theorem),
                     qualia_theorem)
     ]
コード例 #4
0
 def get_bert_input(self, qualia_theorem: str) -> [str]:
     return [
         to_bert_seq('{} are used to {}'.format(qualia_theorem, MASK),
                     qualia_theorem),
         to_bert_seq(
             '{} are used to {} {}'.format(qualia_theorem, MASK, MASK),
             qualia_theorem),
         to_bert_seq('{} are used to be {}'.format(qualia_theorem, MASK),
                     qualia_theorem)
     ]
コード例 #5
0
 def get_bert_input(self, qualia_theorem: str) -> [str]:
     return [
         to_bert_seq('purpose of {} is to {}'.format(qualia_theorem, MASK),
                     qualia_theorem),
         to_bert_seq(
             'purpose of {} is to {} {}'.format(qualia_theorem, MASK, MASK),
             qualia_theorem),
         to_bert_seq('purpose of {} is {}'.format(qualia_theorem, MASK),
                     qualia_theorem),
         to_bert_seq(
             'purpose of {} is {} {}'.format(qualia_theorem, MASK, MASK),
             qualia_theorem),
         to_bert_seq(
             'purpose of {} is to be {}'.format(qualia_theorem, MASK),
             qualia_theorem),
         to_bert_seq('purpose of {} is be {}'.format(qualia_theorem, MASK),
                     qualia_theorem)
     ]
コード例 #6
0
 def get_bert_input(self, qualia_theorem: str) -> [str]:
     return [to_bert_seq('{} especially {}'.format(MASK, qualia_theorem), qualia_theorem)]
コード例 #7
0
 def get_bert_input(self, qualia_theorem: str) -> [str]:
     return [to_bert_seq('{} including {}'.format(MASK, qualia_theorem), qualia_theorem)]