Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
feat: flag mass nouns used as plurals (#1671)
Andrew Dunbar417b7864e8e5
diff --git a/harper-core/dictionary.dict b/harper-core/dictionary.dictindex bd9107f1a..c011f237f 100644--- a/harper-core/dictionary.dict+++ b/harper-core/dictionary.dict@@ -1,4 +1,4 @@-53600+53700# Start of original dictionary import# combined with dialect spelling dictionary import.@@ -16714,10 +16714,10 @@ cauliflower/~NwVSgcaulk/NVZGgd>Scaulker/Ngcausal/~JNY-causality/~NSg+causality/~Nmgcausation/~Ngcausative/~JN-cause/~NVCgZGd>S+cause/~NwVCgZGd>Scauseless/Jcauser/Ngcauserie/NSg@@ -16728,7 +16728,7 @@ cauterisation/Ng!_cauterise/VGdS!_cauterization/Ngcauterize/VGdS-caution/~NVSgdG+caution/~NwVSgdGcautionary/~Jcautious/~JiYcautiousness/Ng@@ -19657,19 +19657,21 @@ crewelwork/Ngcrewman/Ngcrewmen/~N9crib/~NVgS-cribbage/Ng+cribbage/Nmgcribbed/VJcribber/NgScribbing/VNcrick/~NVSgdG-cricket/~NVg>SZG+cricket/~NwVg>SZGcricketer/~Ngcrier/Ngcrikey/crime/~NwVSgcriminal/~JNgYS+criminalisation/Nmg!_criminalise/VeGdS!_criminality/Ng+criminalization/Nmgcriminalize/VeGdScriminologist/NgScriminology/~Ng@@ -22610,7 +22612,7 @@ elasticity/~Ngelasticize/VdSGelate/VJdSGnelated/JVY-elation/Nmg+elation/NwgSelbow/~NVSgdGelbowroom/Ngelder/~JNVSgY@@ -22851,10 +22853,10 @@ empanelling/V@empathetic/JQempathise/VdSG!_empathize/VdSG-empathy/~Ng+empathy/~Nmgemperor/~NgS-emphases/9-emphasis/~Ng+emphases/N9+emphasis/~N0gemphasise/VrGdS!_emphasize/~VrGdSeemphatic/~JNUQ@@ -22870,8 +22872,8 @@ employ'semployable/JNUemployee/~NSgemployer/~NSg-employment/~NUrg-employments/N+employment/~N0wUrg+employments/N9emporium/NSgempower/~VSdGLempowerment/~Ng@@ -23835,7 +23837,7 @@ explode/~VGdSexploder/NgSexploit/~NVZGBgd>Sexploitability/Nmg-exploitation/~Ng+exploitation/~Nmgexploitative/~Jexploited/~VUexploiter/NVg@@ -25083,7 +25085,7 @@ focal/~JNYfocus/~NVrdSGfocus'sfocused/~JVU-fodder/~NVSg+fodder/~NmVSgfoe/~JNSgfog/~NwVeSfog's@@ -34160,6 +34162,7 @@ moisturise/VZGd>S!_moisturiser/Ng!_moisturize/VZGd>Smoisturizer/Ng+mojito/NwgSmojo/~Ngmolar/~NJSgmolasses/NVg@@ -39669,6 +39672,7 @@ prescript/NJSvgdprescription/~NJSgprescriptive/JYpreseason/~NVSg+preselct/VGdSpresence/~NVSgpresent/~JNVLgd>YZGSBpresentably/R@@ -41072,7 +41076,7 @@ reactionary/~JNSgreactively/Rreactivity/~Nread/~VNZGg>BzS-readability/~NSg+readability/~Nmgreader/~Ngreadership/~NSgreadily/~R@@ -41082,16 +41086,16 @@ readme/NgSreadmitted/Vreadout/NSgready/~JVNd>S^Gp-reafforestation/N+reafforestation/Nmreal/~JN^g>YpSrealisation/NSg!_realise/VdSBG!_realised/VU!_-realism/~Ng+realism/~Nmgrealist/~NJSgrealistic/~JUQ-realities/~N-reality/~NUg+realities/~N9+reality/~Nw0Ugrealization/~NgS<@realize/~VdSBGU<@realized/~VU<@@@ -41425,7 +41429,7 @@ regimental/~Jregimentation/Ngregion/~NSgregional/~JNY-regionalism/NgS+regionalism/NwgSregister/~NVGgdSregistered/~VJUregistrant/~NgS@@ -50176,6 +50180,7 @@ unsee/VSunseeing/JYunseemly/J^unseen/~JVNg+unselect/VGdSunsentimental/Junset/JVunshakable/J@@ -53091,6 +53096,7 @@ anti-vaccine/Janti-vax/Janti-vaxxer/NgSavant-garde/NgJ+B-52/NgSback door/NgSVGdback to back/Rback-to-back/J@@ -53505,6 +53511,7 @@ U-turn/NVgSdGuh-huhuh-ohun-American/J+use case/NgSuser-friendly/JUTF-16/NgUTF-32/Ngdiff --git a/harper-core/src/expr/sequence_expr.rs b/harper-core/src/expr/sequence_expr.rsindex 73a802f14..687599233 100644--- a/harper-core/src/expr/sequence_expr.rs+++ b/harper-core/src/expr/sequence_expr.rs@@ -211,6 +211,9 @@ impl SequenceExpr {self.then(Word::new_exact(word))}+ // Out-of-vocabulary word. (Words not in the dictionary)+ gen_then_from_is!(oov);+// Part-of-speech matching methods// Nominals (nouns and pronouns)diff --git a/harper-core/src/linting/lint_group.rs b/harper-core/src/linting/lint_group.rsindex 85c831ce1..811847862 100644--- a/harper-core/src/linting/lint_group.rs+++ b/harper-core/src/linting/lint_group.rs@@ -119,7 +119,9 @@ use super::{CurrencyPlacement, HtmlDescriptionLinter, Linter, NoOxfordComma, Oxfuse super::{ExprLinter, Lint};use crate::linting::dashes::Dashes;use crate::linting::open_compounds::OpenCompounds;-use crate::linting::{closed_compounds, initialisms, phrase_corrections, phrase_set_corrections};+use crate::linting::{+ MassPlurals, closed_compounds, initialisms, phrase_corrections, phrase_set_corrections,+};use crate::spell::{Dictionary, MutableDictionary};use crate::{CharString, Dialect, Document, TokenStringExt};@@ -520,6 +522,9 @@ impl LintGroup {out.add("HaveTakeALook", HaveTakeALook::new(dialect));out.config.set_rule_enabled("HaveTakeALook", true);+ out.add("MassPlurals", MassPlurals::new(dictionary.clone()));+ out.config.set_rule_enabled("MassPlurals", true);+out}diff --git a/harper-core/src/linting/mass_plurals.rs b/harper-core/src/linting/mass_plurals.rsnew file mode 100644index 000000000..062509ce1--- /dev/null+++ b/harper-core/src/linting/mass_plurals.rs@@ -0,0 +1,178 @@+use hashbrown::HashSet;++use crate::{+ CharStringExt, Token, TokenStringExt,+ expr::{All, Expr, FirstMatchOf, FixedPhrase, SequenceExpr},+ linting::{ExprLinter, Lint, LintKind},+ spell::Dictionary,+};++pub struct MassPlurals<D> {+ expr: Box<dyn Expr>,+ dict: D,+}++impl<D> MassPlurals<D>+where+ D: Dictionary,+{+ pub fn new(dict: D) -> Self {+ let oov = SequenceExpr::default().then_oov();+ let looks_plural = SequenceExpr::default().then(|tok: &Token, _src: &[char]| {+ let lchars = tok.span.get_content(_src).to_lower();+ lchars.last().is_some_and(|c| *c == 's')+ });+ let oov_looks_plural = All::new(vec![Box::new(oov), Box::new(looks_plural)]);++ let source_codes = FixedPhrase::from_phrase("source codes");++ Self {+ expr: Box::new(FirstMatchOf::new(vec![+ Box::new(oov_looks_plural),+ Box::new(source_codes),+ ])),+ dict,+ }+ }++ fn is_mass_noun_in_dictionary(&self, chars: &[char]) -> bool {+ self.dict+ .get_word_metadata(chars)+ .is_some_and(|wmd| wmd.is_mass_noun_only())+ }++ fn is_mass_noun_in_dictionary_str(&self, s: &str) -> bool {+ self.dict+ .get_word_metadata_str(s)+ .is_some_and(|wmd| wmd.is_mass_noun_only())+ }+}++impl<D> ExprLinter for MassPlurals<D>+where+ D: Dictionary,+{+ fn expr(&self) -> &dyn Expr {+ self.expr.as_ref()+ }++ fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option<Lint> {+ let mistake_toks = toks;++ let mut legit_words_found: HashSet<Box<[char]>> = HashSet::new();++ if mistake_toks.len() == 1 {+ let mistake_tok = &mistake_toks[0];+ // Not a fixed phrase, so it's a single word that's not in the dictionary and ends with -s+ let mut remaining_chars = mistake_tok.span.get_content(src);++ // -s+ if remaining_chars.ends_with(&['s']) {+ remaining_chars = &remaining_chars[..remaining_chars.len() - 1];++ if self.is_mass_noun_in_dictionary(remaining_chars) {+ legit_words_found.insert(remaining_chars.into());+ }++ // -es+ if remaining_chars.ends_with(&['e']) {+ remaining_chars = &remaining_chars[..remaining_chars.len() - 1];++ if self.is_mass_noun_in_dictionary(remaining_chars) {+ legit_words_found.insert(remaining_chars.into());+ }++ // -ies -> -y+ if remaining_chars.ends_with(&['i']) {+ remaining_chars = &remaining_chars[..remaining_chars.len() - 1];++ let y_singular = format!("{}y", remaining_chars.to_string());+ if self.is_mass_noun_in_dictionary_str(&y_singular) {+ let y_singular_chars: Box<[char]> =+ y_singular.chars().collect::<Vec<char>>().into_boxed_slice();+ legit_words_found.insert(y_singular_chars.clone());+ }+ }+ }+ }+ } else {+ // Multiple tokens means we matched a fixed phrase+ let the_fixed_phrase = mistake_toks.span()?.get_content(src);+ // For now the only one is "source codes" and the singular is "source code"+ if the_fixed_phrase+ .to_string()+ .eq_ignore_ascii_case("source codes")+ {+ let source_code_chars: Box<[char]> = "source code"+ .chars()+ .collect::<Vec<char>>()+ .into_boxed_slice();+ legit_words_found.insert(source_code_chars);+ }+ }++ if legit_words_found.is_empty() {+ return None;+ }++ let message = format!(+ "The {} `{}` is a mass noun and should not be pluralized.",+ if mistake_toks.len() == 1 {+ "word"+ } else {+ "term"+ },+ legit_words_found+ .iter()+ .map(|s| s.to_string())+ .collect::<Vec<String>>()+ .join("`, `")+ );++ Some(Lint {+ span: mistake_toks.span()?,+ lint_kind: LintKind::Grammar,+ suggestions: vec![],+ message,+ priority: 31,+ })+ }++ fn description(&self) -> &'static str {+ "Looks for plural forms of mass nouns that have no plural."+ }+}++#[cfg(test)]+mod tests {+ use crate::{linting::tests::assert_lint_count, spell::FstDictionary};++ use super::MassPlurals;++ #[test]+ fn flag_advicess() {+ assert_lint_count(+ "You gave me bad advices.",+ MassPlurals::new(FstDictionary::curated()),+ 1,+ );+ }++ #[test]+ fn flag_source_codes_and_softwares() {+ assert_lint_count(+ "Do we have the source codes for these softwares?",+ MassPlurals::new(FstDictionary::curated()),+ 2,+ );+ }++ #[test]+ fn flag_noun_ending_in_ies() {+ assert_lint_count(+ "Celibacies are better than sex.",+ MassPlurals::new(FstDictionary::curated()),+ 1,+ );+ }+}diff --git a/harper-core/src/linting/mod.rs b/harper-core/src/linting/mod.rsindex e8255399c..460bad62b 100644--- a/harper-core/src/linting/mod.rs+++ b/harper-core/src/linting/mod.rs@@ -64,6 +64,7 @@ mod long_sentences;mod looking_forward_to;mod map_phrase_linter;mod map_phrase_set_linter;+mod mass_plurals;mod merge_linters;mod merge_words;mod missing_preposition;@@ -184,6 +185,7 @@ pub use long_sentences::LongSentences;pub use looking_forward_to::LookingForwardTo;pub use map_phrase_linter::MapPhraseLinter;pub use map_phrase_set_linter::MapPhraseSetLinter;+pub use mass_plurals::MassPlurals;pub use merge_words::MergeWords;pub use missing_preposition::MissingPreposition;pub use modal_of::ModalOf;diff --git a/harper-core/tests/text/linters/The Great Gatsby.snap.yml b/harper-core/tests/text/linters/The Great Gatsby.snap.ymlindex f5d0dd7b1..f44849cc6 100644--- a/harper-core/tests/text/linters/The Great Gatsby.snap.yml+++ b/harper-core/tests/text/linters/The Great Gatsby.snap.yml@@ -161,18 +161,6 @@ Message: |-Lint: Spelling (63 priority)-Message: |- 46 | wake of his dreams that temporarily closed out my interest in the abortive- 47 | sorrows and short-winded elations of men.- | ^~~~~~~~ Did you mean to spell `elations` this way?-Suggest:- - Replace with: “elation's”- - Replace with: “elation”- - Replace with: “relations”---Lint: Readability (127 priority)Message: |50 | three generations. The Carraways are something of a clan, and we have adiff --git a/harper-core/tests/text/tagged/Alice's Adventures in Wonderland.md b/harper-core/tests/text/tagged/Alice's Adventures in Wonderland.mdindex 16f071548..386ce76f5 100644--- a/harper-core/tests/text/tagged/Alice's Adventures in Wonderland.md+++ b/harper-core/tests/text/tagged/Alice's Adventures in Wonderland.md@@ -548,8 +548,8 @@# V NSg/V/J/P V/C NSg/V P D+ NSg/V+ P NSg/V ISg+ NSg/J/P NPr/ISg+ . V/C NSg/V NSg/I/C/Ddem+ . NSg/R R> as she could guess , she was now about two feet high , and was going on shrinking# NSg/R ISg+ NSg/VX NSg/V . ISg+ V NPr/V/J/C J/P NSg+ NPl+ NSg/V/J . V/C V NSg/V/J J/P V-> rapidly : she soon found out that the cause of this was the fan she was holding ,-# R . ISg+ J/R NSg/V NSg/V/J/R/P NSg/I/C/Ddem D NSg/V/C P I/Ddem+ V D+ NSg/V ISg+ V NSg/V .+> rapidly : she soon found out that the cause of this was the fan she was holding ,+# R . ISg+ J/R NSg/V NSg/V/J/R/P NSg/I/C/Ddem D N🅪Sg/V/C P I/Ddem+ V D+ NSg/V ISg+ V NSg/V .> and she dropped it hastily , just in time to avoid shrinking away altogether .# V/C ISg+ V/J NPr/ISg+ R . V/J NPr/J/P N🅪Sg/V/J+ P V V V/J NSg .>@@ -772,8 +772,8 @@# . V . . V/J D NSg/V+ P D/P+ J+ NSg/V+ . . V ISgPl+ NSg/I/J/C/Dq NSg/V/J . I/Ddem+ VL D> driest thing I know . Silence all round , if you please ! ‘ William the Conqueror ,# JS NSg/V ISg+ NSg/V . NSg/V+ NSg/I/J/C/Dq NSg/V/J/P . NSg/C ISgPl+ V . Unlintable NPr+ D NSg .-> whose cause was favoured by the pope , was soon submitted to by the English , who-# I+ NSg/V/C+ V V/J/Comm NSg/J/P D NPr/V+ . V J/R V P NSg/J/P D NPr🅪/V/J+ . NPr/I++> whose cause was favoured by the pope , was soon submitted to by the English , who+# I+ N🅪Sg/V/C+ V V/J/Comm NSg/J/P D NPr/V+ . V J/R V P NSg/J/P D NPr🅪/V/J+ . NPr/I+> wanted leaders , and had been of late much accustomed to usurpation and conquest .# V/J + . V/C V NSg/V P NSg/J NSg/I/J/Dq V/J P NSg V/C NSg/V+ .> Edwin and Morcar , the earls of Mercia and Northumbria — ’ ”@@ -1002,8 +1002,8 @@# V/J D+ NSg/V+ P D NSg/J . Unlintable NSg/I D/P NSg/V/J+ . NSg/V/J NPr/V+ . P NPr/P NSg/V/J NPr/C NSg/V+ .> would be wasting our breath . ’ ‘ I’ll be judge , I’ll be jury , ’ Said cunning old# VX NSg/VX V D$+ NSg/V/J+ . . Unlintable W? NSg/VX NSg/V+ . W? NSg/VX NSg/V/J+ . . V/J NSg/J NSg/J-> Fury : ‘ I’ll try the whole cause , and condemn you to death . ’ ”-# NSg+ . Unlintable W? NSg/V/J D NSg/J NSg/V/C . V/C V ISgPl+ P NPr🅪 . . .+> Fury : ‘ I’ll try the whole cause , and condemn you to death . ’ ”+# NSg+ . Unlintable W? NSg/V/J D NSg/J N🅪Sg/V/C . V/C V ISgPl+ P NPr🅪 . . .>#> “ You are not attending ! ” said the Mouse to Alice severely . “ What are you@@ -5963,7 +5963,7 @@> she knew she had but to open them again , and all would change to dull# ISg+ V ISg+ V NSg/C/P P NSg/V/J NSg/IPl+ P . V/C NSg/I/J/C/Dq VX N🅪Sg/V P V/J+> reality — the grass would be only rustling in the wind , and the pool rippling to-# NSg+ . D+ NPr🅪/V+ VX NSg/VX J/R/C V NPr/J/P D NSg/V+ . V/C D NSg/V+ V P+# N🅪Sg+ . D+ NPr🅪/V+ VX NSg/VX J/R/C V NPr/J/P D NSg/V+ . V/C D NSg/V+ V P> the waving of the reeds — the rattling teacups would change to tinkling# D V P D NPl+ . D V NPl VX N🅪Sg/V+ P V> sheep - bells , and the Queen’s shrill cries to the voice of the shepherd boy — anddiff --git a/harper-core/tests/text/tagged/The Constitution of the United States.md b/harper-core/tests/text/tagged/The Constitution of the United States.mdindex 24bfc3021..34fae2f5a 100644--- a/harper-core/tests/text/tagged/The Constitution of the United States.md+++ b/harper-core/tests/text/tagged/The Constitution of the United States.md@@ -1184,8 +1184,8 @@# D NPr/V/J P D+ NPl/V+ P NSg/VX V/J NPr/J/P D$+ NPl/V+ . NPl/V+ .> papers , and effects , against unreasonable searches and seizures , shall not be# NPl/V+ . V/C NPl/V+ . C/P J NPl/V V/C NPl/V+ . VX NSg/C NSg/VX-> violated , and no warrants shall issue , but upon probable cause , supported by-# V/J . V/C NPr/P NPl/V+ VX NSg/V+ . NSg/C/P P NSg/J NSg/V/C . V/J NSg/J/P+> violated , and no warrants shall issue , but upon probable cause , supported by+# V/J . V/C NPr/P NPl/V+ VX NSg/V+ . NSg/C/P P NSg/J N🅪Sg/V/C . V/J NSg/J/P> oath or affirmation , and particularly describing the place to be searched , and# NSg/V+ NPr/C NSg . V/C R V D NSg/V+ P NSg/VX V/J . V/C> the persons or things to be seized .@@ -1216,8 +1216,8 @@# NSg/V/J NSg/V/J+ . NSg/J/P D/P J NSg/V/J P D NSg/V+ V/C NSg/V/J+ C D N🅪Sg/V+> shall have been committed , which district shall have been previously# VX NSg/VX NSg/V V/J . I/C+ NSg/V/J+ VX NSg/VX NSg/V R-> ascertained by law , and to be informed of the nature and cause of the-# V/J NSg/J/P NSg/V+ . V/C P NSg/VX V/J P D NSg/V+ V/C NSg/V/C P D+> ascertained by law , and to be informed of the nature and cause of the+# V/J NSg/J/P NSg/V+ . V/C P NSg/VX V/J P D NSg/V+ V/C N🅪Sg/V/C P D> accusation ; to be confronted with the witnesses against him ; to have compulsory# NSg . P NSg/VX V/J P D NPl/V+ C/P ISg+ . P NSg/VX NSg/J> process for obtaining witnesses in his favor , and to have the assistance ofdiff --git a/harper-core/tests/text/tagged/The Great Gatsby.md b/harper-core/tests/text/tagged/The Great Gatsby.mdindex 1b2193165..8aa33acf9 100644--- a/harper-core/tests/text/tagged/The Great Gatsby.md+++ b/harper-core/tests/text/tagged/The Great Gatsby.md@@ -91,7 +91,7 @@> wake of his dreams that temporarily closed out my interest in the abortive# NPr/V P ISg/D$+ NPl/V+ NSg/I/C/Ddem+ R V/J NSg/V/J/R/P D$+ NSg/V+ NPr/J/P D NSg/V/J> sorrows and short - winded elations of men .-# NPl/V+ V/C NPr/V/J/P . V/J ? P NSg+ .+# NPl/V+ V/C NPr/V/J/P . V/J NPl P NSg+ .>#> My family have been prominent , well - to - do people in this Middle Western city for@@ -2753,7 +2753,7 @@> fooled me . This fella’s a regular Belasco . It’s a triumph . What thoroughness !# V/J NPr/ISg+ . I/Ddem ? D/P NSg/J ? . W? D/P+ NSg/V+ . NSg/I+ NSg .> What realism ! Knew when to stop , too — didn’t cut the pages . But what do you want ?-# NSg/I+ NSg+ . V NSg/I/C P NSg/V . W? . V NSg/V/J D NPl/V+ . NSg/C/P NSg/I+ NSg/VX ISgPl+ NSg/V .+# NSg/I+ NᴹSg+ . V NSg/I/C P NSg/V . W? . V NSg/V/J D NPl/V+ . NSg/C/P NSg/I+ NSg/VX ISgPl+ NSg/V .> What do you expect ? ”# NSg/I+ NSg/VX ISgPl+ V . .>@@ -4033,7 +4033,7 @@> through which were visible a host of spires . There was Gatsby , looking a little ,# NSg/J/P I/C+ NSg/V J D/P NSg/V P NPl/V+ . + V NPr . V D/P NPr/I/J/Dq .> not much , younger — with a cricket bat in his hand .-# NSg/C NSg/I/J/Dq . NSg/JC . P D/P NSg/V NSg/V+ NPr/J/P ISg/D$+ NSg/V+ .+# NSg/C NSg/I/J/Dq . NSg/JC . P D/P N🅪Sg/V NSg/V+ NPr/J/P ISg/D$+ NSg/V+ .>#> Then it was all true . I saw the skins of tigers flaming in his palace on the@@ -6111,9 +6111,9 @@> some vivid scene with an oblivious embrace . For a while these reveries provided# I/J/R/Dq NSg/J NSg/V+ P D/P J NSg/V+ . C/P D/P+ NSg/V/C/P+ I/Ddem NPl/V V/J/C> an outlet for his imagination ; they were a satisfactory hint of the unreality of-# D/P NSg+ C/P ISg/D$+ NSg+ . IPl+ NSg/V D/P NSg/J NSg/V P D NSg P+# D/P NSg+ C/P ISg/D$+ NSg+ . IPl+ NSg/V D/P NSg/J NSg/V P D N🅪Sg P> reality , a promise that the rock of the world was founded securely on a fairy’s-# NSg+ . D/P NSg/V+ NSg/I/C/Ddem D NPr🅪/V P D NSg/V+ V V/J R J/P D/P NSg$+# N🅪Sg+ . D/P NSg/V+ NSg/I/C/Ddem D NPr🅪/V P D NSg/V+ V V/J R J/P D/P NSg$> wing .# NSg/V+ .>@@ -7747,7 +7747,7 @@> while in silence . Then as Doctor T. J. Eckleburg’s faded eyes came into sight# NSg/V/C/P NPr/J/P NSg/V+ . NSg/J/C NSg/R NSg/V+ ? ? ? J NPl/V+ NSg/V/P P N🅪Sg/V+> down the road , I remembered Gatsby’s caution about gasoline .-# NSg/V/J/P D NSg/J+ . ISg+ V/J NSg$ NSg/V+ J/P NᴹSg .+# NSg/V/J/P D NSg/J+ . ISg+ V/J NSg$ N🅪Sg/V+ J/P NᴹSg .>#> “ We’ve got enough to get us to town , ” said Tom .@@ -8276,8 +8276,8 @@# . NSg/V/J J/P . . NPr V/J R .>#-> “ What kind of a row are you trying to cause in my house anyhow ? ”-# . NSg/I+ NSg/J P D/P+ NSg/V+ V ISgPl+ NSg/V/J P NSg/V/C NPr/J/P D$+ NPr/V+ J . .+> “ What kind of a row are you trying to cause in my house anyhow ? ”+# . NSg/I+ NSg/J P D/P+ NSg/V+ V ISgPl+ NSg/V/J P N🅪Sg/V/C NPr/J/P D$+ NPr/V+ J . .>#> They were out in the open at last and Gatsby was content .@@ -9473,7 +9473,7 @@> I couldn’t sleep all night ; a fog - horn was groaning incessantly on the Sound ,# ISg+ V N🅪Sg/V+ NSg/I/J/C/Dq N🅪Sg/V+ . D/P N🅪Sg/V+ . NPr/V+ V V R J/P D NSg/V/J+ .> and I tossed half - sick between grotesque reality and savage , frightening dreams .-# V/C ISg+ V/J N🅪Sg/V/J/P+ . NSg/V/J NSg/P NSg/J NSg V/C NPr/V/J+ . V/J NPl/V+ .+# V/C ISg+ V/J N🅪Sg/V/J/P+ . NSg/V/J NSg/P NSg/J N🅪Sg V/C NPr/V/J+ . V/J NPl/V+ .> Toward dawn I heard a taxi go up Gatsby’s drive , and immediately I jumped out of# J/P NPr/V+ ISg+ V/J D/P+ NSg/V+ NSg/V/J NSg/V/J/P NSg$ NSg/V . V/C R ISg+ V/J NSg/V/J/R/P P> bed and began to dress — I felt that I had something to tell him , something to