/usr/share/gocode/src/github.com/jdkato/prose/testdata/golden_rules_en.json is in golang-github-jdkato-prose-dev 1.1.0+git20171031.e27abfd-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 | [
{
"name":"1. Simple period to end sentence",
"input":"Hello World. My name is Jonas.",
"output":[
"Hello World.",
"My name is Jonas."
]
},
{
"name":"2. Question mark to end sentence",
"input":"What is your name? My name is Jonas.",
"output":[
"What is your name?",
"My name is Jonas."
]
},
{
"name":"3. Exclamation point to end sentence",
"input":"There it is! I found it.",
"output":[
"There it is!",
"I found it."
]
},
{
"name":"4. One letter upper case abbreviations",
"input":"My name is Jonas E. Smith.",
"output":[
"My name is Jonas E. Smith."
]
},
{
"name":"5. One letter lower case abbreviations",
"input":"Please turn to p. 55.",
"output":[
"Please turn to p. 55."
]
},
{
"name":"6. Two letter lower case abbreviations in the middle of a sentence",
"input":"Were Jane and co. at the party?",
"output":[
"Were Jane and co. at the party?"
]
},
{
"name":"7. Two letter upper case abbreviations in the middle of a sentence",
"input":"They closed the deal with Pitt, Briggs & Co. at noon.",
"output":[
"They closed the deal with Pitt, Briggs & Co. at noon."
]
},
{
"name":"8. Two letter lower case abbreviations at the end of a sentence",
"input":"Let's ask Jane and co. They should know.",
"output":[
"Let's ask Jane and co.",
"They should know."
]
},
{
"name":"9. Two letter upper case abbreviations at the end of a sentence",
"input":"They closed the deal with Pitt, Briggs & Co. It closed yesterday.",
"output":[
"They closed the deal with Pitt, Briggs & Co.",
"It closed yesterday."
]
},
{
"name":"10. Two letter (prepositive) abbreviations",
"input":"I can see Mt. Fuji from here.",
"output":[
"I can see Mt. Fuji from here."
]
},
{
"name":"11. Two letter (prepositive & postpositive) abbreviations",
"input":"St. Michael's Church is on 5th st. near the light.",
"output":[
"St. Michael's Church is on 5th st. near the light."
]
},
{
"name":"12. Possesive two letter abbreviations",
"input":"That is JFK Jr.'s book.",
"output":[
"That is JFK Jr.'s book."
]
},
{
"name":"13. Multi-period abbreviations in the middle of a sentence",
"input":"I visited the U.S.A. last year.",
"output":[
"I visited the U.S.A. last year."
]
},
{
"name":"14. Multi-period abbreviations at the end of a sentence",
"input":"I live in the E.U. How about you?",
"output":[
"I live in the E.U.",
"How about you?"
]
},
{
"name":"15. U.S. as sentence boundary",
"input":"I live in the U.S. How about you?",
"output":[
"I live in the U.S.",
"How about you?"
]
},
{
"name":"16. U.S. as non sentence boundary with next word capitalized",
"input":"I work for the U.S. Government in Virginia.",
"output":[
"I work for the U.S. Government in Virginia."
]
},
{
"name":"17. U.S. as non sentence boundary",
"input":"I have lived in the U.S. for 20 years.",
"output":[
"I have lived in the U.S. for 20 years."
]
},
{
"name":"19. Number as non sentence boundary",
"input":"She has $100.00 in her bag.",
"output":[
"She has $100.00 in her bag."
]
},
{
"name":"20. Number as sentence boundary",
"input":"She has $100.00. It is in her bag.",
"output":[
"She has $100.00.",
"It is in her bag."
]
},
{
"name":"21. Parenthetical inside sentence",
"input":"He teaches science (He previously worked for 5 years as an engineer.) at the local University.",
"output":[
"He teaches science (He previously worked for 5 years as an engineer.) at the local University."
]
},
{
"name":"22. Email addresses",
"input":"Her email is Jane.Doe@example.com. I sent her an email.",
"output":[
"Her email is Jane.Doe@example.com.",
"I sent her an email."
]
},
{
"name":"23. Web addresses",
"input":"The site is: https://www.example.50.com/new-site/awesome_content.html. Please check it out.",
"output":[
"The site is: https://www.example.50.com/new-site/awesome_content.html.",
"Please check it out."
]
},
{
"name":"24. Single quotations inside sentence",
"input":"She turned to him, 'This is great.' she said.",
"output":[
"She turned to him, 'This is great.' she said."
]
},
{
"name":"25. Double quotations inside sentence",
"input":"She turned to him, \"This is great.\" she said.",
"output":[
"She turned to him, \"This is great.\" she said."
]
},
{
"name":"26. Double quotations at the end of a sentence",
"input":"She turned to him, \"This is great.\" She held the book out to show him.",
"output":[
"She turned to him, \"This is great.\"",
"She held the book out to show him."
]
},
{
"name":"27. Double punctuation (exclamation point)",
"input":"Hello!! Long time no see.",
"output":[
"Hello!!",
"Long time no see."
]
},
{
"name":"28. Double punctuation (question mark)",
"input":"Hello?? Who is there?",
"output":[
"Hello??",
"Who is there?"
]
},
{
"name":"29. Double punctuation (exclamation point / question mark)",
"input":"Hello!? Is that you?",
"output":[
"Hello!?",
"Is that you?"
]
},
{
"name":"30. Double punctuation (question mark / exclamation point)",
"input":"Hello?! Is that you?",
"output":[
"Hello?!",
"Is that you?"
]
},
{
"name":"40. Errant newlines in the middle of sentences (PDF)",
"input":"This is a sentence\ncut off in the middle because pdf.",
"output":[
"This is a sentence cut off in the middle because pdf."
]
},
{
"name":"41. Errant newlines in the middle of sentences",
"input":"It was a cold \nnight in the city.",
"output":[
"It was a cold night in the city."
]
},
{
"name":"43. Geo Coordinates",
"input":"You can find it at N°. 1026.253.553. That is where the treasure is.",
"output":[
"You can find it at N°. 1026.253.553.",
"That is where the treasure is."
]
},
{
"name":"44. Named entities with an exclamation point",
"input":"She works at Yahoo! in the accounting department.",
"output":[
"She works at Yahoo! in the accounting department."
]
},
{
"name":"45. I as a sentence boundary and I as an abbreviation",
"input":"We make a good team, you and I. Did you see Albert I. Jones yesterday?",
"output":[
"We make a good team, you and I.",
"Did you see Albert I. Jones yesterday?"
]
},
{
"name":"46. Ellipsis at end of quotation",
"input":"Thoreau argues that by simplifying one’s life, “the laws of the universe will appear less complex. . . .”",
"output":[
"Thoreau argues that by simplifying one’s life, “the laws of the universe will appear less complex. . . .”"
]
},
{
"name":"47. Ellipsis with square brackets",
"input":"\"Bohr [...] used the analogy of parallel stairways [...]\" (Smith 55).",
"output":[
"\"Bohr [...] used the analogy of parallel stairways [...]\" (Smith 55)."
]
},
{
"name":"48. Ellipsis as sentence boundary (standard ellipsis rules)",
"input":"If words are left off at the end of a sentence, and that is all that is omitted, indicate the omission with ellipsis marks (preceded and followed by a space) and then indicate the end of the sentence with a period . . . . Next sentence.",
"output":[
"If words are left off at the end of a sentence, and that is all that is omitted, indicate the omission with ellipsis marks (preceded and followed by a space) and then indicate the end of the sentence with a period . . . .",
"Next sentence."
]
},
{
"name":"49. Ellipsis as sentence boundary (non-standard ellipsis rules)",
"input":"I never meant that.... She left the store.",
"output":[
"I never meant that....",
"She left the store."
]
},
{
"name":"50. Ellipsis as non sentence boundary",
"input":"I wasn’t really ... well, what I mean...see . . . what I'm saying, the thing is . . . I didn’t mean it.",
"output":[
"I wasn’t really ... well, what I mean...see . . . what I'm saying, the thing is . . . I didn’t mean it."
]
},
{
"name":"51. 4-dot ellipsis",
"input":"One further habit which was somewhat weakened . . . was that of combining words into self-interpreting compounds. . . . The practice was not abandoned. . . .",
"output":[
"One further habit which was somewhat weakened . . . was that of combining words into self-interpreting compounds.",
". . . The practice was not abandoned. . . ."
]
}
]
|