text
text copied to clipboard
find_match utility function to unify a few lines of code
find_match searches a list of strings and returns first entry that partially or fully contains the given string match.
Codecov Report
Merging #1165 (82ddc35) into master (97dddf0) will decrease coverage by
0.02%. The diff coverage is92.30%.
@@ 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%) |
:arrow_down: |
| ...ext/experimental/datasets/raw/language_modeling.py | 92.68% <100.00%> (-0.50%) |
:arrow_down: |
| ...t/experimental/datasets/raw/text_classification.py | 87.67% <100.00%> (-0.17%) |
:arrow_down: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update 97dddf0...82ddc35. Read the comment docs.