• Alfredo Di Napoli's avatar
    Fix bug in buildPatterns related to case sensitiveness · 1642c59b
    Alfredo Di Napoli authored
    Fixes a bug in the implementation of `buildPatterns`. In particular,
    when we are building a `Pattern`, we need to do so in a case insenstive
    fashion, otherwise later in the call to `replaceTerms` we would be
    calling this from `extractTermsWithList` that cast everything into
    lowercase due to the use of `monoTextsBySentence`.
    
    This means that before this commit if we tried to search "Map" into
    the text "Map is what I use when I'm lost" we wouldn't get a match,
    because the latter would be converted into lowercase first
    (i.e. "map is what i use when i'm lost") and we were trying to look
    for the string "Map" (i.e. the former) into the transformer, yielding
    no matches.
    1642c59b
Name
Last commit
Last update
.gitlab/issue_templates Loading commit data...
bench Loading commit data...
bench-data/phylo Loading commit data...
bin Loading commit data...
devops Loading commit data...
docs Loading commit data...
ekg-assets Loading commit data...
nix Loading commit data...
src Loading commit data...
src-doctest Loading commit data...
test Loading commit data...
test-data Loading commit data...
.clippy.dhall Loading commit data...
.envrc Loading commit data...
.ghci Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
CHANGELOG.md Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
DEVELOPER_GUIDELINES.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
cabal.project Loading commit data...
cabal.project.freeze Loading commit data...
cabal.project.local_toCopy Loading commit data...
gargantext-settings.toml_toModify Loading commit data...
gargantext.cabal Loading commit data...
gargantext.ini_toModify Loading commit data...
hie.yaml Loading commit data...
run Loading commit data...
shell.nix Loading commit data...
stack.yaml Loading commit data...
start Loading commit data...
weeder.toml Loading commit data...