jeertmans / languagetool-rust

LanguageTool API in Rust
https://docs.rs/languagetool-rust
MIT License
157 stars 6 forks source link

fix(cli): allow hyphen values for `--text` #100

Closed jeertmans closed 1 year ago

jeertmans commented 1 year ago

Text string can now contain hyphen values.

Closes #99

github-actions[bot] commented 1 year ago

Thank you for updating CHANGELOG.md! Always feel free to edit it. See Keep A Changelog for more details.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage has no change and project coverage change: -1.35 :warning:

Comparison is base (7042eda) 24.85% compared to head (029e5c0) 23.50%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #100 +/- ## ========================================== - Coverage 24.85% 23.50% -1.35% ========================================== Files 7 7 Lines 519 519 ========================================== - Hits 129 122 -7 - Misses 390 397 +7 ``` | [Impacted Files](https://app.codecov.io/gh/jeertmans/languagetool-rust/pull/100?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=J%C3%A9rome+Eertmans) | Coverage Δ | | |---|---|---| | [src/lib/check.rs](https://app.codecov.io/gh/jeertmans/languagetool-rust/pull/100?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=J%C3%A9rome+Eertmans#diff-c3JjL2xpYi9jaGVjay5ycw==) | `35.80% <ø> (-1.75%)` | :arrow_down: | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/jeertmans/languagetool-rust/pull/100/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=J%C3%A9rome+Eertmans)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

github-actions[bot] commented 1 year ago

Benchmark results:

group           before                                  changes
-----           ------                                  -------
basic/large     1.01   724.2±27.02ms    11.2 KB/sec     1.00   718.0±20.08ms    11.3 KB/sec
basic/medium    1.00   233.5±17.85ms     6.0 KB/sec     1.03   239.9±24.94ms     5.9 KB/sec
basic/small     1.00    180.8±7.86ms     4.1 KB/sec     1.18   212.8±38.36ms     3.5 KB/sec
split/large     1.00       3.9±0.22s     2.1 KB/sec     1.26       4.9±0.56s     1677 B/sec
split/medium    1.00  1461.3±132.94ms      988 B/sec    1.09  1590.7±196.81ms      907 B/sec
split/small     1.00   249.8±25.54ms     3.0 KB/sec     1.02   253.5±21.45ms     2.9 KB/sec