Emanuel felmateos commited on
Commit
027387e
1 Parent(s): 9e442ef

Fix suggestion contraction on preprocessing.py (#1)

Browse files

- Fixed contraction on preprocessing.py (0db01403ec87ce430d945b6a50ce54c2cdf052ae)


Co-authored-by: Felipe Mateos Castro de Souza <felmateos@users.noreply.huggingface.co>

Files changed (1) hide show
  1. preprocessing.py +1 -1
preprocessing.py CHANGED
@@ -19,7 +19,7 @@ contractions = {
19
  r"(?<![\w.])nisso(?![$\w])": r"em isso",
20
  r"(?<![\w.])naquele(s)?(?![$\w])": r"em aquele\g<1>",
21
  r"(?<![\w.])naquela(s)?(?![$\w])": r"em aquela\g<1>",
22
- r"(?<![\w.])naquilo(?![$\w])": r"em aquelo",
23
  r"(?<![\w.])duma(s)?(?![$\w])": r"de uma\g<1>",
24
  r"(?<![\w.])daqui(?![$\w])": r"de aqui",
25
  r"(?<![\w.])dali(?![$\w])": r"de ali",
 
19
  r"(?<![\w.])nisso(?![$\w])": r"em isso",
20
  r"(?<![\w.])naquele(s)?(?![$\w])": r"em aquele\g<1>",
21
  r"(?<![\w.])naquela(s)?(?![$\w])": r"em aquela\g<1>",
22
+ r"(?<![\w.])naquilo(?![$\w])": r"em aquilo",
23
  r"(?<![\w.])duma(s)?(?![$\w])": r"de uma\g<1>",
24
  r"(?<![\w.])daqui(?![$\w])": r"de aqui",
25
  r"(?<![\w.])dali(?![$\w])": r"de ali",