Skip to content

Commit

Permalink
Fix pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
Artrajz committed Jul 29, 2024
1 parent 68cddda commit deea020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/sentence.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def _expand_hyphens(text):


def markup_language(text: str, target_languages: list = None) -> str:
pattern = config.LanguageIdentification.split_pattern
pattern = config.language_identification.split_pattern
sentences = re.split(pattern, text)

pre_lang = ""
Expand Down

0 comments on commit deea020

Please sign in to comment.