Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

find_match utility function to unify a few lines of code #1165

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

cpuhrsch
Copy link
Contributor

find_match searches a list of strings and returns first entry that partially or fully contains the given string match.

@codecov
Copy link

codecov bot commented Feb 17, 2021

Codecov Report

Merging #1165 (82ddc35) into master (97dddf0) will decrease coverage by 0.02%.
The diff coverage is 92.30%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1165      +/-   ##
==========================================
- Coverage   79.61%   79.59%   -0.03%     
==========================================
  Files          47       47              
  Lines        3204     3205       +1     
==========================================
  Hits         2551     2551              
- Misses        653      654       +1     
Impacted Files Coverage Δ
torchtext/experimental/datasets/raw/common.py 86.90% <80.00%> (-0.44%) ⬇️
...ext/experimental/datasets/raw/language_modeling.py 92.68% <100.00%> (-0.50%) ⬇️
...t/experimental/datasets/raw/text_classification.py 87.67% <100.00%> (-0.17%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 97dddf0...82ddc35. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants