PetrochukM / PyTorch-NLP

Basic Utilities for PyTorch Natural Language Processing (NLP)
https://pytorchnlp.readthedocs.io
BSD 3-Clause "New" or "Revised" License
2.21k stars 258 forks source link

Update Encoder specification; Bump version to 0.4.1 #69

Closed PetrochukM closed 5 years ago

PetrochukM commented 5 years ago

Updates:

codecov-io commented 5 years ago

Codecov Report

Merging #69 into master will decrease coverage by 0.37%. The diff coverage is 82.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #69      +/-   ##
==========================================
- Coverage   94.33%   93.95%   -0.38%     
==========================================
  Files          57       57              
  Lines        1518     1523       +5     
==========================================
- Hits         1432     1431       -1     
- Misses         86       92       +6
Impacted Files Coverage Δ
torchnlp/encoders/text/whitespace_encoder.py 100% <ø> (ø) :arrow_up:
torchnlp/encoders/label_encoder.py 94.11% <100%> (+1.52%) :arrow_up:
torchnlp/encoders/text/text_encoder.py 100% <100%> (ø) :arrow_up:
torchnlp/__init__.py 100% <100%> (ø) :arrow_up:
torchnlp/encoders/text/subword_encoder.py 97.43% <100%> (+0.21%) :arrow_up:
torchnlp/encoders/text/static_tokenizer_encoder.py 97.87% <100%> (+0.31%) :arrow_up:
torchnlp/encoders/text/treebank_encoder.py 70.58% <50%> (-8.36%) :arrow_down:
torchnlp/encoders/text/moses_encoder.py 66.66% <60%> (-8.34%) :arrow_down:
torchnlp/encoders/text/character_encoder.py 83.33% <66.66%> (-6.67%) :arrow_down:
torchnlp/encoders/text/delimiter_encoder.py 85.71% <66.66%> (-5.96%) :arrow_down:
... and 2 more

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 d524a25...0cc8e16. Read the comment docs.