nipunsadvilkar / pySBD

🐍💯pySBD (Python Sentence Boundary Disambiguation) is a rule-based sentence boundary detection that works out-of-the-box.
MIT License
813 stars 84 forks source link

🚑 ✅ Handle Newline character & update tests #74

Closed nipunsadvilkar closed 4 years ago

nipunsadvilkar commented 4 years ago

Some of pySBD rules are wrapped around carriage return (\r) hence replacing newline character with carriage return internally

codecov-commenter commented 4 years ago

Codecov Report

Merging #74 into master will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #74   +/-   ##
=======================================
  Coverage   98.41%   98.41%           
=======================================
  Files          37       37           
  Lines        1074     1075    +1     
=======================================
+ Hits         1057     1058    +1     
  Misses         17       17           
Flag Coverage Δ
#unittests 98.41% <100.00%> (+<0.01%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pysbd/about.py 100.00% <100.00%> (ø)
pysbd/processor.py 95.86% <100.00%> (+0.03%) :arrow_up:

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 92362f7...60983a2. Read the comment docs.