-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(lib): fully refactor the library for v3 #117
base: main
Are you sure you want to change the base?
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
LanguageTool
src/check.rs|861 col 4| If ‘Type’ is a classification term, ‘a’ is not necessary. Use “Type of”. (The phrases ‘kind of’ and ‘sort of’ are informal if they mean ‘to some extent’.) (KIND_OF_A[1])
Suggestions: Type of
Rule: https://community.languagetool.org/rule/show/KIND_OF_A?lang=en-US&subId=1
Category: GRAMMAR
src/check.rs|884 col 38| Possible agreement error - use third-person verb forms for singular and mass nouns. (MASS_AGREEMENT[11])
Suggestions: starts
Rule: https://community.languagetool.org/rule/show/MASS_AGREEMENT?lang=en-US&subId=11
Category: GRAMMAR
src/check.rs|993 col 20| This abbreviation for “identification” is spelled all-uppercase. (ID_CASING[2])
Suggestions: ID
Rule: https://community.languagetool.org/rule/show/ID_CASING?lang=en-US&subId=2
Category: CASING
src/check.rs|1017 col 20| Two consecutive dots (DOUBLE_PUNCTUATION)
Suggestions: .
, …
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-periods
Rule: https://community.languagetool.org/rule/show/DOUBLE_PUNCTUATION?lang=en-US
Category: PUNCTUATION
src/check.rs|1121 col 13| If a new sentence starts here, add a space and start with an uppercase letter. (LC_AFTER_PERIOD[1])
Suggestions: Response
, response
Rule: https://community.languagetool.org/rule/show/LC_AFTER_PERIOD?lang=en-US&subId=1
Category: CASING
src/check.rs|1174 col 18| Two consecutive dots (DOUBLE_PUNCTUATION)
Suggestions: .
, …
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-periods
Rule: https://community.languagetool.org/rule/show/DOUBLE_PUNCTUATION?lang=en-US
Category: PUNCTUATION
src/check.rs|1189 col 13| If a new sentence starts here, add a space and start with an uppercase letter. (LC_AFTER_PERIOD[1])
Suggestions: Offset
, offset
Rule: https://community.languagetool.org/rule/show/LC_AFTER_PERIOD?lang=en-US&subId=1
Category: CASING
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
LanguageTool
[LanguageTool] reported by reviewdog 🐶
A comma may be missing after the conjunctive/linking adverb ‘Thus’. (SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA[1])
Suggestions: Thus,
URL: https://languagetool.org/insights/post/linking-words/
Rule: https://community.languagetool.org/rule/show/SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA?lang=en-US&subId=1
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 475 in 6192d9b
/// used. Thus this parameter can be used to specify the preferred variants |
[LanguageTool] reported by reviewdog 🐶
If a new sentence starts here, add a space and start with an uppercase letter. (LC_AFTER_PERIOD[1])
Suggestions: Text
, text
Rule: https://community.languagetool.org/rule/show/LC_AFTER_PERIOD?lang=en-US&subId=1
Category: CASING
languagetool-rust/src/check.rs
Line 545 in 6192d9b
self.text = Some(text); |
[LanguageTool] reported by reviewdog 🐶
If a new sentence starts here, add a space and start with an uppercase letter. (LC_AFTER_PERIOD[1])
Suggestions: Data
, data
Rule: https://community.languagetool.org/rule/show/LC_AFTER_PERIOD?lang=en-US&subId=1
Category: CASING
languagetool-rust/src/check.rs
Line 546 in 6192d9b
self.data = None; |
[LanguageTool] reported by reviewdog 🐶
If a new sentence starts here, add a space and start with an uppercase letter. (LC_AFTER_PERIOD[1])
Suggestions: Data
, data
Rule: https://community.languagetool.org/rule/show/LC_AFTER_PERIOD?lang=en-US&subId=1
Category: CASING
languagetool-rust/src/check.rs
Line 553 in 6192d9b
self.data = Some(data); |
[LanguageTool] reported by reviewdog 🐶
If a new sentence starts here, add a space and start with an uppercase letter. (LC_AFTER_PERIOD[1])
Suggestions: Text
, text
Rule: https://community.languagetool.org/rule/show/LC_AFTER_PERIOD?lang=en-US&subId=1
Category: CASING
languagetool-rust/src/check.rs
Line 554 in 6192d9b
self.text = None; |
[LanguageTool] reported by reviewdog 🐶
If a new sentence starts here, add a space and start with an uppercase letter. (LC_AFTER_PERIOD[1])
Suggestions: Language
, language
Rule: https://community.languagetool.org/rule/show/LC_AFTER_PERIOD?lang=en-US&subId=1
Category: CASING
languagetool-rust/src/check.rs
Line 567 in 6192d9b
self.language = language; |
[LanguageTool] reported by reviewdog 🐶
If a new sentence starts here, add a space and start with an uppercase letter. (LC_AFTER_PERIOD[1])
Suggestions: Text
, text
Rule: https://community.languagetool.org/rule/show/LC_AFTER_PERIOD?lang=en-US&subId=1
Category: CASING
languagetool-rust/src/check.rs
Line 578 in 6192d9b
if let Some(ref text) = self.text { |
[LanguageTool] reported by reviewdog 🐶
If a new sentence starts here, add a space and start with an uppercase letter. (LC_AFTER_PERIOD[1])
Suggestions: Data
, data
Rule: https://community.languagetool.org/rule/show/LC_AFTER_PERIOD?lang=en-US&subId=1
Category: CASING
languagetool-rust/src/check.rs
Line 580 in 6192d9b
} else if let Some(ref data) = self.data { |
[LanguageTool] reported by reviewdog 🐶
If a new sentence starts here, add a space and start with an uppercase letter. (LC_AFTER_PERIOD[1])
Suggestions: Text
, text
Rule: https://community.languagetool.org/rule/show/LC_AFTER_PERIOD?lang=en-US&subId=1
Category: CASING
languagetool-rust/src/check.rs
Line 583 in 6192d9b
if let Some(ref t) = da.text { |
[LanguageTool] reported by reviewdog 🐶
If a new sentence starts here, add a space and start with an uppercase letter. (LC_AFTER_PERIOD[1])
Suggestions: Markup
, markup
Rule: https://community.languagetool.org/rule/show/LC_AFTER_PERIOD?lang=en-US&subId=1
Category: CASING
languagetool-rust/src/check.rs
Line 585 in 6192d9b
} else if let Some(ref t) = da.markup { |
[LanguageTool] reported by reviewdog 🐶
Possible typo: you repeated a word (ENGLISH_WORD_REPEAT_RULE)
Suggestions: text
Rule: https://community.languagetool.org/rule/show/ENGLISH_WORD_REPEAT_RULE?lang=en-US
Category: MISC
languagetool-rust/src/check.rs
Line 679 in 6192d9b
/// - raw text, if `--text TEXT` is provided; |
[LanguageTool] reported by reviewdog 🐶
This abbreviation for “identification” is spelled all-uppercase. (ID_CASING[2])
Suggestions: ID
Rule: https://community.languagetool.org/rule/show/ID_CASING?lang=en-US&subId=2
Category: CASING
languagetool-rust/src/check.rs
Line 818 in 6192d9b
/// Category id. |
[LanguageTool] reported by reviewdog 🐶
This abbreviation for “identification” is spelled all-uppercase. (ID_CASING[2])
Suggestions: ID
Rule: https://community.languagetool.org/rule/show/ID_CASING?lang=en-US&subId=2
Category: CASING
languagetool-rust/src/check.rs
Line 819 in 6192d9b
pub id: String, |
[LanguageTool] reported by reviewdog 🐶
This abbreviation for “identification” is spelled all-uppercase. (ID_CASING[2])
Suggestions: ID
Rule: https://community.languagetool.org/rule/show/ID_CASING?lang=en-US&subId=2
Category: CASING
languagetool-rust/src/check.rs
Line 841 in 6192d9b
/// Rule id. |
[LanguageTool] reported by reviewdog 🐶
This abbreviation for “identification” is spelled all-uppercase. (ID_CASING[2])
Suggestions: ID
Rule: https://community.languagetool.org/rule/show/ID_CASING?lang=en-US&subId=2
Category: CASING
languagetool-rust/src/check.rs
Line 842 in 6192d9b
pub id: String, |
[LanguageTool] reported by reviewdog 🐶
This abbreviation for “identification” is spelled all-uppercase. (ID_CASING[2])
Suggestions: ID
Rule: https://community.languagetool.org/rule/show/ID_CASING?lang=en-US&subId=2
Category: CASING
languagetool-rust/src/check.rs
Line 846 in 6192d9b
/// Rule sub id. |
[LanguageTool] reported by reviewdog 🐶
If ‘Type’ is a classification term, ‘a’ is not necessary. Use “Type of”. (The phrases ‘kind of’ and ‘sort of’ are informal if they mean ‘to some extent’.) (KIND_OF_A[1])
Suggestions: Type of
Rule: https://community.languagetool.org/rule/show/KIND_OF_A?lang=en-US&subId=1
Category: GRAMMAR
languagetool-rust/src/check.rs
Line 861 in 6192d9b
/// Type of a given match. |
[LanguageTool] reported by reviewdog 🐶
Possible agreement error - use third-person verb forms for singular and mass nouns. (MASS_AGREEMENT[11])
Suggestions: starts
Rule: https://community.languagetool.org/rule/show/MASS_AGREEMENT?lang=en-US&subId=11
Category: GRAMMAR
languagetool-rust/src/check.rs
Line 884 in 6192d9b
/// Char index at which the match start. |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 959 in 6192d9b
pub fn iter_matches(&self) -> std::slice::Iter<'_, Match> { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 964 in 6192d9b
pub fn iter_matches_mut(&mut self) -> std::slice::IterMut<'_, Match> { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘"’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 981 in 6192d9b
acc.push_str(", "); |
[LanguageTool] reported by reviewdog 🐶
This abbreviation for “identification” is spelled all-uppercase. (ID_CASING[2])
Suggestions: ID
Rule: https://community.languagetool.org/rule/show/ID_CASING?lang=en-US&subId=2
Category: CASING
languagetool-rust/src/check.rs
Line 993 in 6192d9b
id: Some(&m.rule.id), |
[LanguageTool] reported by reviewdog 🐶
Two consecutive dots (DOUBLE_PUNCTUATION)
Suggestions: .
, …
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-periods
Rule: https://community.languagetool.org/rule/show/DOUBLE_PUNCTUATION?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1017 in 6192d9b
..Default::default() |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1026 in 6192d9b
annotation.push('\n'); |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1061 in 6192d9b
pub fn iter_matches(&self) -> std::slice::Iter<'_, Match> { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1066 in 6192d9b
pub fn iter_matches_mut(&mut self) -> std::slice::IterMut<'_, Match> { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1073 in 6192d9b
pub fn iter_match_positions(&self) -> MatchPositions<'_, std::slice::Iter<'_, Match>> { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1073 in 6192d9b
pub fn iter_match_positions(&self) -> MatchPositions<'_, std::slice::Iter<'_, Match>> { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1113 in 6192d9b
let iter: MatchPositions<'_, std::slice::IterMut<'_, Match>> = (&mut resp).into(); |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1113 in 6192d9b
let iter: MatchPositions<'_, std::slice::IterMut<'_, Match>> = (&mut resp).into(); |
[LanguageTool] reported by reviewdog 🐶
If a new sentence starts here, add a space and start with an uppercase letter. (LC_AFTER_PERIOD[1])
Suggestions: Response
, response
Rule: https://community.languagetool.org/rule/show/LC_AFTER_PERIOD?lang=en-US&subId=1
Category: CASING
languagetool-rust/src/check.rs
Line 1121 in 6192d9b
resp.response |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1127 in 6192d9b
pub struct MatchPositions<'source, T> { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1128 in 6192d9b
text_chars: std::str::Chars<'source>, |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1135 in 6192d9b
impl<'source> From<&'source ResponseWithContext> |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1135 in 6192d9b
impl<'source> From<&'source ResponseWithContext> |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1136 in 6192d9b
for MatchPositions<'source, std::slice::Iter<'source, Match>> |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1136 in 6192d9b
for MatchPositions<'source, std::slice::Iter<'source, Match>> |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1138 in 6192d9b
fn from(response: &'source ResponseWithContext) -> Self { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1149 in 6192d9b
impl<'source> From<&'source mut ResponseWithContext> |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1149 in 6192d9b
impl<'source> From<&'source mut ResponseWithContext> |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1150 in 6192d9b
for MatchPositions<'source, std::slice::IterMut<'source, Match>> |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1150 in 6192d9b
for MatchPositions<'source, std::slice::IterMut<'source, Match>> |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1152 in 6192d9b
fn from(response: &'source mut ResponseWithContext) -> Self { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1163 in 6192d9b
impl<'source, T> MatchPositions<'source, T> { |
[LanguageTool] reported by reviewdog 🐶
Two consecutive dots (DOUBLE_PUNCTUATION)
Suggestions: .
, …
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-periods
Rule: https://community.languagetool.org/rule/show/DOUBLE_PUNCTUATION?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1174 in 6192d9b
for _ in 0..n { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1176 in 6192d9b
Some('\n') => { |
[LanguageTool] reported by reviewdog 🐶
If a new sentence starts here, add a space and start with an uppercase letter. (LC_AFTER_PERIOD[1])
Suggestions: Offset
, offset
Rule: https://community.languagetool.org/rule/show/LC_AFTER_PERIOD?lang=en-US&subId=1
Category: CASING
languagetool-rust/src/check.rs
Line 1189 in 6192d9b
self.offset = m.offset; |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1193 in 6192d9b
impl<'source> Iterator for MatchPositions<'source, std::slice::Iter<'source, Match>> { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1193 in 6192d9b
impl<'source> Iterator for MatchPositions<'source, std::slice::Iter<'source, Match>> { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1193 in 6192d9b
impl<'source> Iterator for MatchPositions<'source, std::slice::Iter<'source, Match>> { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1194 in 6192d9b
type Item = (usize, usize, &'source Match); |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1206 in 6192d9b
impl<'source> Iterator for MatchPositions<'source, std::slice::IterMut<'source, Match>> { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1206 in 6192d9b
impl<'source> Iterator for MatchPositions<'source, std::slice::IterMut<'source, Match>> { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1206 in 6192d9b
impl<'source> Iterator for MatchPositions<'source, std::slice::IterMut<'source, Match>> { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1207 in 6192d9b
type Item = (usize, usize, &'source mut Match); |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1224 in 6192d9b
enum Token<'source> { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1225 in 6192d9b
Text(&'source str), |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1226 in 6192d9b
Skip(&'source str), |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1232 in 6192d9b
impl<'source> From<&'source str> for Token<'source> { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1232 in 6192d9b
impl<'source> From<&'source str> for Token<'source> { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1232 in 6192d9b
impl<'source> From<&'source str> for Token<'source> { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1233 in 6192d9b
fn from(s: &'source str) -> Self { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1242 in 6192d9b
impl<'source> From<Token<'source>> for DataAnnotation { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1242 in 6192d9b
impl<'source> From<Token<'source>> for DataAnnotation { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1253 in 6192d9b
let words: Vec<&str> = "My name is Q34XY".split(' ').collect(); |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘"’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
Line 6 in 6192d9b
#![doc = include_str!("../README.md")] |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘"’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
Line 6 in 6192d9b
#![doc = include_str!("../README.md")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
LanguageTool
[LanguageTool] reported by reviewdog 🐶
If a new sentence starts here, add a space and start with an uppercase letter. (LC_AFTER_PERIOD[1])
Suggestions: Response
, response
Rule: https://community.languagetool.org/rule/show/LC_AFTER_PERIOD?lang=en-US&subId=1
Category: CASING
languagetool-rust/src/check.rs
Line 1121 in eeecd33
resp.response |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1127 in eeecd33
pub struct MatchPositions<'source, T> { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1128 in eeecd33
text_chars: std::str::Chars<'source>, |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1135 in eeecd33
impl<'source> From<&'source ResponseWithContext> |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1135 in eeecd33
impl<'source> From<&'source ResponseWithContext> |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1136 in eeecd33
for MatchPositions<'source, std::slice::Iter<'source, Match>> |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1136 in eeecd33
for MatchPositions<'source, std::slice::Iter<'source, Match>> |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1138 in eeecd33
fn from(response: &'source ResponseWithContext) -> Self { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1149 in eeecd33
impl<'source> From<&'source mut ResponseWithContext> |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1149 in eeecd33
impl<'source> From<&'source mut ResponseWithContext> |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1150 in eeecd33
for MatchPositions<'source, std::slice::IterMut<'source, Match>> |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1150 in eeecd33
for MatchPositions<'source, std::slice::IterMut<'source, Match>> |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1152 in eeecd33
fn from(response: &'source mut ResponseWithContext) -> Self { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1163 in eeecd33
impl<'source, T> MatchPositions<'source, T> { |
[LanguageTool] reported by reviewdog 🐶
Two consecutive dots (DOUBLE_PUNCTUATION)
Suggestions: .
, …
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-periods
Rule: https://community.languagetool.org/rule/show/DOUBLE_PUNCTUATION?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1174 in eeecd33
for _ in 0..n { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1176 in eeecd33
Some('\n') => { |
[LanguageTool] reported by reviewdog 🐶
If a new sentence starts here, add a space and start with an uppercase letter. (LC_AFTER_PERIOD[1])
Suggestions: Offset
, offset
Rule: https://community.languagetool.org/rule/show/LC_AFTER_PERIOD?lang=en-US&subId=1
Category: CASING
languagetool-rust/src/check.rs
Line 1189 in eeecd33
self.offset = m.offset; |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1193 in eeecd33
impl<'source> Iterator for MatchPositions<'source, std::slice::Iter<'source, Match>> { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1193 in eeecd33
impl<'source> Iterator for MatchPositions<'source, std::slice::Iter<'source, Match>> { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1193 in eeecd33
impl<'source> Iterator for MatchPositions<'source, std::slice::Iter<'source, Match>> { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1194 in eeecd33
type Item = (usize, usize, &'source Match); |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1206 in eeecd33
impl<'source> Iterator for MatchPositions<'source, std::slice::IterMut<'source, Match>> { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1206 in eeecd33
impl<'source> Iterator for MatchPositions<'source, std::slice::IterMut<'source, Match>> { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1206 in eeecd33
impl<'source> Iterator for MatchPositions<'source, std::slice::IterMut<'source, Match>> { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1207 in eeecd33
type Item = (usize, usize, &'source mut Match); |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1224 in eeecd33
enum Token<'source> { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1225 in eeecd33
Text(&'source str), |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1226 in eeecd33
Skip(&'source str), |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1232 in eeecd33
impl<'source> From<&'source str> for Token<'source> { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1232 in eeecd33
impl<'source> From<&'source str> for Token<'source> { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1232 in eeecd33
impl<'source> From<&'source str> for Token<'source> { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1233 in eeecd33
fn from(s: &'source str) -> Self { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1242 in eeecd33
impl<'source> From<Token<'source>> for DataAnnotation { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1242 in eeecd33
impl<'source> From<Token<'source>> for DataAnnotation { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1253 in eeecd33
let words: Vec<&str> = "My name is Q34XY".split(' ').collect(); |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘"’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
Line 6 in eeecd33
#![doc = include_str!("../README.md")] |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘"’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
Line 6 in eeecd33
#![doc = include_str!("../README.md")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
LanguageTool
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1232 in dd7b73b
impl<'source> From<&'source str> for Token<'source> { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1233 in dd7b73b
fn from(s: &'source str) -> Self { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1242 in dd7b73b
impl<'source> From<Token<'source>> for DataAnnotation { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1242 in dd7b73b
impl<'source> From<Token<'source>> for DataAnnotation { |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘'’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
languagetool-rust/src/check.rs
Line 1253 in dd7b73b
let words: Vec<&str> = "My name is Q34XY".split(' ').collect(); |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘"’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
Line 6 in dd7b73b
#![doc = include_str!("../README.md")] |
[LanguageTool] reported by reviewdog 🐶
Unpaired symbol: ‘"’ seems to be missing (EN_UNPAIRED_QUOTES)
URL: https://languagetool.org/insights/post/punctuation-guide/#what-are-parentheses
Rule: https://community.languagetool.org/rule/show/EN_UNPAIRED_QUOTES?lang=en-US
Category: PUNCTUATION
Line 6 in dd7b73b
#![doc = include_str!("../README.md")] |
* fix!: adjustments after refactor * Update README.md Co-authored-by: Jérome Eertmans <jeertmans@icloud.com> * docs(changelog): remove mention of support for markdown and typst files for now * refactor: use `check::Request`, `check::Response` and `check::ResponseWithContext` * chore: formatting * fix: minimum Rust version needs to be higher for `clap` * fix: doc test * refactor: use crate's result type for the `check` method on `Client` * refactor: use crate's result type for the `languages` method on `Client` * Update src/api/mod.rs Co-authored-by: Jérome Eertmans <jeertmans@icloud.com> * Update src/api/mod.rs Co-authored-by: Jérome Eertmans <jeertmans@icloud.com> * fix: convert `reqwest` error --------- Co-authored-by: Jérome Eertmans <jeertmans@icloud.com>
This comment was marked as outdated.
This comment was marked as outdated.
* fix!: adjustments after refactor * Update README.md Co-authored-by: Jérome Eertmans <jeertmans@icloud.com> * docs(changelog): remove mention of support for markdown and typst files for now * refactor: use `check::Request`, `check::Response` and `check::ResponseWithContext` * chore: formatting * fix: minimum Rust version needs to be higher for `clap` * fix: doc test * refactor: use crate's result type for the `check` method on `Client` * refactor: use crate's result type for the `languages` method on `Client` * Update src/api/mod.rs Co-authored-by: Jérome Eertmans <jeertmans@icloud.com> * Update src/api/mod.rs Co-authored-by: Jérome Eertmans <jeertmans@icloud.com> * fix: convert `reqwest` error --------- Co-authored-by: Jérome Eertmans <jeertmans@icloud.com>
CodSpeed Performance ReportCongrats! CodSpeed is installed 🎉
You will start to see performance impacts in the reports once the benchmarks are run from your default branch.
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #117 +/- ##
==========================================
- Coverage 23.55% 22.93% -0.62%
==========================================
Files 7 8 +1
Lines 518 532 +14
==========================================
Hits 122 122
- Misses 396 410 +14
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Hi @Rolv-Apneseth! So I just did some efforts to clean the CI, and also slightly updated the main comment of this PR. What would you like to work on? I don't have much time to actually implement things, as I have other work to do for my thesis ^^', but I am happy to perform reviews :-) |
Hi! I don't mind, what do you think is a reasonable next step here? Also best of luck with your thesis |
Thanks! Can you just check the to-do list above, and see what you can do? |
Sure, so maybe for the first one I can just move all API code to a Also would you mind explaining the reasoning behind the |
Sure, looks good!
Of course :-)
Did I answer your question? |
Not quite sorry. I understand being able to disable it, but what is the benefit of enabling it? Why not just have the CLI stuff separated entirely from the library side, and only used in the binary |
There is too much things to be put inside just main.rs Creating a sub crate allows to have a cleaner workspace, and testing libraries is also easier. Finally, people could be interested to have the CLI tools exposed in the public API, e.g., to create a wrapper application. There may be better project organization, and I am of course open to suggestion. |
I see, alright that makes sense, thank you |
Perhaps we could split it into a separate workspace with a library of it's own? It would need to be published as a separate crate though I guess. Anyway, not necessary, just a possibility. |
I'm actually not sure how to split it up as it is, could you advise a bit on how to proceed? The CLI and rest of the API functionality are very heavily intertwined and I need Only easy change I can see would be moving I personally think it's fine how it is currently if you want to keep the setup with the |
Hey @Rolv-Apneseth, sorry for the late reply! For the multiple crate workspace, this is indeed a solution, but it also requires some additional work for (1) publishing crates and (2) potentially exposing more things to the public API so they can be used in the "cli" crate. All that being said, splitting the work in separate crates is not urgent, not to say the hassle, I think. So, I prefer to stick with the current layout:
E.g., This command is then imported in I know it may not be 100% clear, especially as it isn't still crystal clear to me what I would prefer doing, but I hope the small "directory tree" explanation helped. Let me know what you think and let's start to take decisions :-) |
Hey, all good.
Sure, makes sense.
I'm don't know what's best, but probably OK to keep it in with the server logic? As for the other things - I believe I have a better idea of what the goal is now. I'll make a PR hopefully today and you can request whatever changes you want, so we can get into the specifics |
Great! Please suggest anything :-) I am currently a bit overwhelmed with work on my thesis, it's hard for my to give this project more than a few hours a week, which also means I didn't have yet enough time to pause and think about how to clearly plan the next steps. So go on and work on whatever part you prefer about this PR, I will try to review them relatively quickly, and I hope to give more time to this project after my deadlines (i.e., end of October). |
Yeah no worries, there's no rush with any of this anyway. I'm working on some refactoring now, we'll see if I finish today or tomorrow but either way you can review and make suggestions just whenever you get the chance |
The goal of this PR is to reorganize the crate so that:
src/lib/
. This folder should not contain anything else, except a few mandatory CLI related features, guarded behind#[cfg_attr(feature = "cli", derive(...))]
and similar;WordsAdd
andWordsDelete
inside submodules;src/cli
, and renamedcli.rs
tosrc/lib/mod.rs
;src/cli/check.rs
, prepare the necessary logic to (1) read multiple filenames, (2) detect file type and use correct parser (i.e., Typst, Markdown, or raw text), and (3) generate a many requests as needed, splitting long text if needed.Error::ResponseEncode
andError::RequestEncode
are remove and onlyError::Request
is used.languagetool-rust/.github/workflows/rustlib.yml
Line 33 in a217b40