yeraydiazdiaz / lunr.py

A Python implementation of Lunr.js 🌖
http://lunr.readthedocs.io
MIT License
188 stars 16 forks source link

Fix installing ntlk in 2.7 without `languages` extra #72

Closed yeraydiazdiaz closed 4 years ago

yeraydiazdiaz commented 4 years ago

Optimize regexes and avoid use by default

codecov-io commented 4 years ago

Codecov Report

Merging #72 into master will decrease coverage by 0.02%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #72      +/-   ##
==========================================
- Coverage   98.53%   98.51%   -0.03%     
==========================================
  Files          20       20              
  Lines        1092     1076      -16     
  Branches      197      201       +4     
==========================================
- Hits         1076     1060      -16     
  Misses          9        9              
  Partials        7        7              
Impacted Files Coverage Δ
lunr/languages/trimmer.py 100.00% <100.00%> (ø)
lunr/query_lexer.py 100.00% <100.00%> (ø)
lunr/tokenizer.py 100.00% <100.00%> (ø)
lunr/query_parser.py 90.90% <0.00%> (-0.55%) :arrow_down:
lunr/token_set.py 95.31% <0.00%> (-0.18%) :arrow_down:
lunr/index.py 100.00% <0.00%> (ø)
lunr/token.py 100.00% <0.00%> (ø)
lunr/vector.py 100.00% <0.00%> (ø)
lunr/pipeline.py 100.00% <0.00%> (ø)
lunr/field_ref.py 100.00% <0.00%> (ø)
... and 1 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 f32744a...a7a8bad. Read the comment docs.