Commit d7508602 authored by Yoelis Acourt's avatar Yoelis Acourt

fix(fronted): removes transformation of hyphaneted words

parent 140c717b
Pipeline #6578 passed with stages
in 23 minutes and 53 seconds
......@@ -131,7 +131,7 @@ lookupRootListWithChildren ngram table@(NgramsTable {ngrams_repo_elements: elts}
Just (NgramsRepoElement {list}) -> Just list -- assert root == Nothing
wordBoundaryChars :: String
wordBoundaryChars = """[ .,;:!?’'«»"\\/\|{}()\[\]\-_—\+\*=~#@...]"""
wordBoundaryChars = """[ .,;:!?’'«»"\\/\|{}()\[\]\_—\+\*=~#@...]"""
wordBoundaryReg :: R.Regex
wordBoundaryReg = case R.regex ("(" <> wordBoundaryChars <> ")") (R.global <> R.multiline) of
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment