srlearn / rnlp

Relational NLP: Convert text into relational facts.
https://rnlp.readthedocs.io/en/latest/
GNU General Public License v3.0
9 stars 5 forks source link

Unit tests for rnlp.textprocessing #6

Closed hayesall closed 6 years ago

hayesall commented 6 years ago

This pull request adds the .travis.yml for building with Travis-CI and a short suite of unit tests for rnlp.textprocessing. This also changed _ to __ in the removeStopwords and removePunctuation functions (to alleviate some mangling issues).

Minor Changes:

codecov-io commented 6 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@ef60b37). Click here to learn what that means. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master       #6   +/-   ##
=========================================
  Coverage          ?   55.14%           
=========================================
  Files             ?        5           
  Lines             ?      214           
  Branches          ?        0           
=========================================
  Hits              ?      118           
  Misses            ?       96           
  Partials          ?        0
Impacted Files Coverage Δ
rnlp/tests/tests.py 100% <100%> (ø)
rnlp/tests/rnlptests/test_textprocessing.py 100% <100%> (ø)
rnlp/textprocessing.py 100% <100%> (ø)

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 ef60b37...e4aa856. Read the comment docs.