original_docstring: This methods checks whether a detokenization-entry satisfies any context conditions.
docstring: This methods checks whether a detokenization-entry satisfies any context conditions.
docstring_tokens: This methods checks whether a detokenization - entry satisfies any context conditions .
code: def detokenization_entry_fulfills_conditions(self, token: str, left_context: str, right_context: str,
                                                   lang_code: Optional[str], group: Optional[bool] = False) -> bool:
          """This methods checks whether a detokenization-entry satisfies any context conditions."""
          lang_codes = self.lang_codes
          lang_codes_not = self.lang_codes_not
          return ((not lang_code or not lang_codes or (lang_code in lang_codes))
                  and (not lang_code or not lang_codes_not or (lang_code not in lang_codes_not))
                  and (not self.case_sensitive or (token == self.s))
                  and (not group or self.group)
                  and (not (re_l := self.left_context) or re_l.match(left_context))
                  and (not (re_l_n := self.left_context_not) or not re_l_n.match(left_context))
                  and (not (re_r := self.right_context) or re_r.match(right_context))
                  and (not (re_r_n := self.right_context_not) or not re_r_n.match(right_context)))
code_tokens: def detokenization_entry_fulfills_conditions ( self , token : str , left_context : str , right_context : str , lang_code : Optional [ str ] , group : Optional [ bool ] = False ) -> bool : lang_codes = self . lang_codes lang_codes_not = self . lang_codes_not return ( ( not lang_code or not lang_codes or ( lang_code in lang_codes ) ) and ( not lang_code or not lang_codes_not or ( lang_code not in lang_codes_not ) ) and ( not self . case_sensitive or ( token == self . s ) ) and ( not group or self . group ) and ( not ( re_l := self . left_context ) or re_l . match ( left_context ) ) and ( not ( re_l_n := self . left_context_not ) or not re_l_n . match ( left_context ) ) and ( not ( re_r := self . right_context ) or re_r . match ( right_context ) ) and ( not ( re_r_n := self . right_context_not ) or not re_r_n . match ( right_context ) ) )
short_docstring: This methods checks whether a detokenization-entry satisfies any context conditions.
short_docstring_tokens: This methods checks whether a detokenization - entry satisfies any context conditions .
comment: """This methods checks whether a detokenization-entry satisfies any context conditions."""