예제 #1
0
 def parse(x: str) -> str:
     """
     Pre-process the text (markdown annotation and cleanup) prior to tokenizing.
     
     This method is meant to be applied to the GitHub issue title and body seperately.
     """
     return compose(transform_pre_rules + defaults.text_pre_rules)(x)
예제 #2
0
 def parse(self, x: str) -> str:
     return compose(transform_pre_rules+defaults.text_pre_rules)(x)
예제 #3
0
 def parse(x: str) -> str:
     """Parse issue text with markdown parser."""
     return compose(transform_pre_rules + defaults.text_pre_rules)(x)