-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathfeedback.py
662 lines (368 loc) · 91.3 KB
/
feedback.py
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
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
from collections import defaultdict as dd
eng_feedback = dd(lambda: dd())
eng_feedback['a_det_mass_rbst']['lcc'] = ("""<strong>⇒</strong> You may be using an indefinite article, 'a' or 'an', before an uncountable noun (such as 'research'): {}. Indefinite articles should only precede singular countable nouns. Please check your sentence for uncountable nouns and remove any indefinite articles that precede them.""", 1)
eng_feedback['a_det_mass_rbst']['callig'] = """You may be using an indefinite article, 'a' or 'an', before an uncountable noun (such as 'research'). Indefinite articles should only precede singular countable nouns."""
eng_feedback['a_det_plur_rbst']['lcc'] = ("""<strong>⇒</strong> You may be using an indefinite article, 'a' or 'an', before a plural countable noun: {}.
Indefinite articles should only precede singular countable nouns. Please check your sentence for plural countable nouns and either
remove any indefinite articles that precede them, or change the plural noun to a singular one.""", 1)
eng_feedback['a_det_plur_rbst']['callig'] = """You may be using an indefinite article, 'a' or 'an', before a plural countable noun.
Indefinite articles should only precede singular countable nouns."""
eng_feedback['after_pp_rbst']['lcc'] = ("""<strong>⇒</strong> You may be using an unnecessary preposition, such as ‘for’, ‘on’, and ‘about’, in this sentence: {}.
Please check whether all the prepositions in the sentence are needed. """, 0.5)
eng_feedback['after_pp_rbst']['callig'] = """You may be using an unnecessary preposition, such as 'for', 'on', and 'about', in this sentence."""
eng_feedback['aj-hdn_c_rbst']['lcc'] = ("""<strong>⇒</strong> You may be using an unnecessary comma between an adjective and a noun: {}.
Please check whether the comma in the sentence is needed.""", 0.5)
eng_feedback['aj-hdn_c_rbst']['callig'] = """You may be using an unnecessary comma between an adjective and a noun."""
eng_feedback['an_det_mass_rbst']['lcc'] = ("""<strong>⇒</strong> You may be using an indefinite article, ‘a’ or ‘an’, before an uncountable noun (such as ‘research’):
{}. Indefinite articles should only precede singular countable nouns. Please check your sentence for uncountable nouns and remove any
indefinite articles that precede them. """, 1)
eng_feedback['an_det_mass_rbst']['callig'] = """You may be using an indefinite article, ‘a’ or ‘an’, before an uncountable noun (such as ‘research’). Indefinite articles should only precede singular countable nouns."""
eng_feedback['an_det_plur_rbst']['lcc'] = ("""<strong>⇒</strong> You may be using an indefinite article, ‘a’ or ‘an’, before a plural countable noun: {}.
Indefinite articles should only precede singular countable nouns. Please check your sentence for plural countable nouns and either
remove any indefinite articles that precede them, or change the plural noun to a singular one.""", 1)
eng_feedback['an_det_plur_rbst']['callig'] = """You may be using an indefinite article, ‘a’ or ‘an’, before a plural countable noun. Indefinite articles should only precede singular countable nouns."""
eng_feedback['bad_adv1_rbst']['lcc'] = ("""<strong>⇒</strong> You may be using an adverb (e.g. 'too', 'only', 'rapidly') inappropriately or the adverb may be
in the wrong position in the sentence: {}. Please check your sentence and change either the adverb or its position if necessary.""", 0.5)
eng_feedback['bad_adv1_rbst']['callig'] = """You may be using an adverb (e.g. 'too', 'only', 'rapidly') inappropriately or the adverb may be in the wrong position in the sentence."""
eng_feedback['such_an_det_rbst']['lcc'] = ("""<strong>⇒</strong> This sentence has a singular noun without an article ('a', 'an', 'the') or determiner
(e.g. 'each', 'this', 'my'): {}. As singular nouns require an article or determiner in front of them, you may want to consider
adding one in front of the noun.""", 1)
eng_feedback['such_an_det_rbst']['callig'] = """This sentence has a singular noun without an article ('a', 'an', 'the') or determiner
(e.g. 'each', 'this', 'my'). As singular nouns require an article or determiner in front of them."""
eng_feedback['their_rbst']['lcc'] = ("""<strong>⇒</strong> You have used 'there' in this sentence: {}. Please check if it should be 'their' instead and
make the change if necessary.""", 0.5)
eng_feedback['their_rbst']['callig'] = """You have used 'there' in this sentence. Please check if it should be 'their' instead."""
eng_feedback['too_deg_nc_rbst']['lcc'] = ("""<strong>⇒</strong> You have used 'to' in this sentence: {}. Please check if it should be 'too' instead
and make the change if necessary.""", 0.5)
eng_feedback['too_deg_nc_rbst']['callig'] = """You have used 'to' in this sentence. It likely should have been 'too' instead."""
eng_feedback['too_deg_rbst']['lcc'] = ("""<strong>⇒</strong> You have used 'to' more than once in this sentence: {}. Please check if 'too' should have been
used in any of these instances instead and make the change if necessary.""", 0.5)
eng_feedback['too_deg_rbst']['callig'] = """You have used 'to' in this sentence. It likely should have been 'too'."""
eng_feedback['v_np_its-mal_le']['lcc'] = ("""<strong>⇒</strong> This sentence contains a third person singular pronoun ('he', 'she', 'it') which may not be
compatible with its reference noun: {}. Please check the sentence and change the pronoun if necessary.""", 0.5)
eng_feedback['v_np_its-mal_le']['callig'] = """This sentence contains a third person singular pronoun ('he', 'she', 'it') which may not be compatible with its reference noun."""
eng_feedback['v_pst_olr_rbst']['lcc'] = ("""<strong>⇒</strong> This sentence contains a verb which has an irregular form in the past tense (e.g. 'ate',
'shook'): {}. You may want to consider changing the verb form.""", 1)
eng_feedback['v_pst_olr_rbst']['callig'] = """This sentence contains a verb which has an irregular form in the past tense (e.g. 'ate', 'shook')."""
eng_feedback['vmod_i_rbst']['lcc'] = ("""<strong>⇒</strong> This sentence contains a missing, inappropriate or unnecessary modal ('can, 'will', 'shall',
etc.): {}. Please check your sentence and reconsider your use of the modal if necessary.""", 0.5)
eng_feedback['vmod_i_rbst']['callig'] = """This sentence contains a missing, inappropriate or unnecessary modal ('can, 'will', 'shall', etc.)."""
eng_feedback['w_comma-sdwch_plr_rbst']['lcc'] = ("""<strong>⇒</strong> This sentence has a comma separating two independent clauses. Please check the
sentence and consider using a peroid/full-stop, a semi-colon or an appropriate conjunction instead.""", 0.5)
eng_feedback['w_comma-sdwch_plr_rbst']['callig'] = """This sentence has a comma separating two independent clauses. It should be using a peroid/full-stop, a semi-colon or an appropriate conjunction instead."""
eng_feedback['well_a1_rbst']['lcc'] = ("""<strong>⇒</strong> This sentence may contain the wrong form of a verb: {}. Please check the sentence
and consider changing the form of the verb if necessary.""", 0.5)
eng_feedback['well_a1_rbst']['callig'] = """This sentence may contain the wrong form of a verb."""
eng_feedback['every_all_rbst']['lcc'] = ("""<strong>⇒</strong> You may have used 'every' before a plural noun in this sentence: {}. Please check
your sentence carefully and change it to 'all' if necessary. """, 1)
eng_feedback['every_all_rbst']['callig'] = """You may have used 'every' before a plural noun in this sentence. It might be better to use 'all'."""
eng_feedback['everyday_adv_rbst']['lcc'] = ("""<strong>⇒</strong> You have used 'everyday' as an adverb in your sentence: {}. It should be spelled
'every day', with a space in between when it does not modify a noun (e.g. 'an everyday affair'). Please check your sentence carefully and add
a space between 'every' and 'day' if necessary.""", 1)
eng_feedback['everyday_adv_rbst']['callig'] = """You have used 'everyday' as an adverb in your sentence. It should be spelled
'every day', with a space in between when it does not modify a noun (e.g. 'an everyday affair')."""
eng_feedback['hdn_bnp_c_rbst']['lcc'] = ("""<strong>⇒</strong> This sentence has a singular noun without an article ('a', 'an', 'the'), determiner
(e.g. 'each', 'this') or possessive (e.g. 'my', 'her') before it: {}. Please check your sentence carefully and add an article, determiner
or possessive before the singular noun if necessary.""", 1)
eng_feedback['hdn_bnp_c_rbst']['callig'] = """This sentence has a singular noun without an article ('a', 'an', 'the'), determiner
(e.g. 'each', 'this') or possessive (e.g. 'my', 'her') before it."""
eng_feedback['mal_det_pl_le']['lcc'] = ("""<strong>⇒</strong> This sentence has a singular noun without an article ('a', 'an', 'the'), determiner
(e.g. 'each', 'this') or possessive (e.g. 'my', 'her') before it: {}. Please check your sentence carefully and add an article, determiner
or possessive before the singular noun or make the singular noun plural if necessary.""", 0.5)
eng_feedback['mal_det_pl_le']['callig'] = """This sentence has a singular noun without an article ('a', 'an', 'the'), determiner
(e.g. 'each', 'this') or possessive (e.g. 'my', 'her') before it."""
eng_feedback['n_pl-mass_olr_rbst']['lcc'] = ("""<strong>⇒</strong> This sentence contains the wrong form of the countable/uncountable noun:
{}. Please check the noun and remove the plural marking from the uncountable noun if necessary.""", 1)
eng_feedback['n_pl-mass_olr_rbst']['callig'] = """This sentence contains the wrong form of the countable/uncountable noun. Remove the plural marking from the uncountable noun."""
eng_feedback['non_third_sg_fin_v_rbst']['lcc'] = ("""<strong>⇒</strong> This sentence may have a verb which does not agree in person
(e.g. 'I', 'you', 's/he') and number (singular/plural) with its subject: {}. Please check the sentence and ensure that the verb
agrees with its subject.""", 1)
eng_feedback['non_third_sg_fin_v_rbst']['callig'] = """This sentence may have a verb which does not agree in person (e.g. 'I', 'you', 's/he') and number (singular/plural) with its subject."""
eng_feedback['num_det_2_rbst']['lcc'] = ("""<strong>⇒</strong> You may have used the singular form of a noun with a determiner for plural
nouns: {}. Please check the determiner and the noun and ensure that they agree in number if necessary.""", 1)
eng_feedback['num_det_2_rbst']['callig'] = """You may have used the singular form of a noun with a determiner for plural
nouns. The determiner and the noun must agree in number."""
eng_feedback['of_poss_stutter_rbst']['lcc'] = ("""<strong>⇒</strong> You may have repeated a preposition (e.g. 'of') in your sentence: {}. Please
check the sentence and remove one of the prepositions if necessary.""", 1)
eng_feedback['of_poss_stutter_rbst']['callig'] = """You may have repeated a preposition (e.g. 'of') in your sentence."""
eng_feedback['only_adv1_rbst']['lcc'] = ("""<strong>⇒</strong> 'Only' may be in the wrong position in your sentence: {}.
Please check the sentence and move 'only' to another position if necessary. """, 0.5)
eng_feedback['only_adv1_rbst']['callig'] = """'Only' may be in the wrong position in your sentence. """
eng_feedback['other_rbst']['lcc'] = ("""<strong>⇒</strong> You may have used 'other' wrongly in this sentence: {}.
Please check the sentence and replace 'other' if necessary.""", 0.5)
eng_feedback['other_rbst']['callig'] = """You may have used 'other' wrongly in this sentence."""
eng_feedback['sb-hd_mc-cma_c_rbst']['lcc'] = ("""<strong>⇒</strong> You may not have used commas appropriately in this sentence:
{}. Please check the sentence and make changes to your use of commas if necessary. """, 0.5)
eng_feedback['sb-hd_mc-cma_c_rbst']['callig'] = """You may not have used commas appropriately in this sentence."""
eng_feedback['such_a_det_rbst']['lcc'] = ("""<strong>⇒</strong> You have used 'such' before a singular countable noun in this
sentence: {} when there should be an article, 'a' or 'an' in between them. Please read your sentence
carefully and insert an article after 'such' if necessary.""", 1)
eng_feedback['such_a_det_rbst']['callig'] = """You have used 'such' before a singular countable noun in this sentence. There should be an article, 'a' or 'an' in between them."""
eng_feedback['be_are_have_rbst']['lcc'] = ("""<strong>⇒</strong> In this sentence, you have used the passive verb phrase
'is/are + verb-ed': {}. Please check whether you intended to use 'has/have + verb-ed' instead.""", 1)
eng_feedback['be_are_have_rbst']['callig'] = """In this sentence, you have used the passive verb phrase 'is/are + verb-ed'. It should be 'has/have + verb-ed' instead."""
eng_feedback['be_is_has_rbst']['lcc'] = ("""<strong>⇒</strong> In this sentence, you have used the passive verb phrase
'is/are + verb-ed': {}. Please check whether you intended to use 'has/have + verb-ed' instead.""", 1)
eng_feedback['be_is_has_rbst']['callig'] = """In this sentence, you have used the passive verb phrase 'is/are + verb-ed'. It should be 'has/have + verb-ed' instead."""
eng_feedback['third_sg_fin_v_rbst']['lcc'] = ("""<strong>⇒</strong> This sentence may have a verb which does not agree in person (e.g. 'I', 'you', 's/he')
and number (singular/plural) with its subject: {}. Please check the sentence and ensure that the verb agrees with its subject.""", 0.5)
eng_feedback['third_sg_fin_v_rbst']['callig'] = """This sentence may have a verb which does not agree in person (e.g. 'I', 'you', 's/he') and number (singular/plural) with its subject."""
eng_feedback['be_np_are_rbst']['lcc'] = ("""<strong>⇒</strong> This sentence may have a verb which does not agree in person
(e.g. 'I', 'you', 's/he') and number (singular/plural) with its subject: {}. Please check the sentence and ensure that
the verb agrees with its subject.""", 0.5)
eng_feedback['be_np_are_rbst']['callig'] = """This sentence may have a verb which does not agree in person (e.g. 'I', 'you', 's/he') and number (singular/plural) with its subject."""
eng_feedback['be_np_is_rbst']['lcc'] = ("""<strong>⇒</strong> This sentence may have a verb which does not agree in person
(e.g. 'I', 'you', 's/he') and number (singular/plural) with its subject: {}. Please check the sentence and ensure that
the verb agrees with its subject.""", 0.5)
eng_feedback['be_np_is_rbst']['callig'] = """This sentence may have a verb which does not agree in person (e.g. 'I', 'you', 's/he') and number (singular/plural) with its subject."""
eng_feedback['mal_va_does_le']['lcc'] = ("""<strong>⇒</strong> This sentence may have a verb which does not agree in person
(e.g. 'I', 'you', 's/he') and number (singular/plural) with its subject: {}. Please check the sentence and ensure that
the verb agrees with its subject.""", 1)
eng_feedback['mal_va_does_le']['callig'] = """This sentence may have a verb which does not agree in person (e.g. 'I', 'you', 's/he') and number (singular/plural) with its subject."""
eng_feedback['mal_va_has_le']['lcc'] = ("""<strong>⇒</strong> This sentence may have a verb which does not agree in person
(e.g. 'I', 'you', 's/he') and number (singular/plural) with its subject: {}. Please check the sentence and ensure that
the verb agrees with its subject.""", 1)
eng_feedback['mal_va_has_le']['callig'] = """This sentence may have a verb which does not agree in person (e.g. 'I', 'you', 's/he') and number (singular/plural) with its subject."""
eng_feedback['mal_va_have_fin_le']['lcc'] = ("""<strong>⇒</strong> This sentence may have a verb which does not agree in person
(e.g. 'I', 'you', 's/he') and number (singular/plural) with its subject: {}. Please check the sentence and ensure that
the verb agrees with its subject.""", 1)
eng_feedback['mal_va_have_fin_le']['callig'] = """This sentence may have a verb which does not agree in person (e.g. 'I', 'you', 's/he') and number (singular/plural) with its subject."""
eng_feedback['mal_vc_prd_are_le']['lcc'] = ("""<strong>⇒</strong> You may have used the verb 'are' incorrectly in the sentence: {}.
Please check your sentence and change the form of the verb if necessary.""", 1)
eng_feedback['mal_vc_prd_are_le']['callig'] = """You may have used the verb 'are' incorrectly in the sentence."""
eng_feedback['mal_vc_prd_be_le']['lcc'] = ("""<strong>⇒</strong> You may have used the verb 'be' incorrectly in the sentence: {}.
Please check your sentence and change the form of the verb if necessary.""", 1)
eng_feedback['mal_vc_prd_be_le']['callig'] = """You may have used the verb 'be' incorrectly in the sentence."""
eng_feedback['mal_vc_prd_been_le']['lcc'] = ("""<strong>⇒</strong> You may have used the verb 'been' incorrectly in the sentence: {}.
Please check your sentence and change the form of the verb if necessary.""", 1)
eng_feedback['mal_vc_prd_been_le']['callig'] = """You may have used the verb 'been' incorrectly in the sentence."""
eng_feedback['mal_vc_prd_is_le']['lcc'] = ("""<strong>⇒</strong> You may have used the verb 'is' incorrectly in the sentence: {}.
Please check your sentence and change the form of the verb if necessary.""", 1)
eng_feedback['mal_vc_prd_is_le']['callig'] = """You may have used the verb 'is' incorrectly in the sentence."""
eng_feedback['cl-cl_runon-cma_c_rbst']['lcc'] = ("""<strong>⇒</strong> This sentence appears to have a comma separating two
independent clauses. Please check the sentence and consider using a peroid/full-stop, a semi-colon or an appropriate
conjunction instead.""", 0.5)
eng_feedback['cl-cl_runon-cma_c_rbst']['callig'] = """This sentence appears to have a comma separating two independent clauses. You should use a peroid/full-stop, a semi-colon or an appropriate conjunction instead."""
eng_feedback['d_-_poss-its-mal_le']['lcc'] = ("""<strong>⇒</strong> This sentence appears to have the wrong form of a possessive, such
as 'its', 'her', 'his' and 'their': {}. Please check the sentence and change the form of the possessive if necessary.""", 1)
eng_feedback['d_-_poss-its-mal_le']['callig'] = """This sentence appears to have the wrong form of a possessive, such as 'its', 'her', 'his' and 'their'."""
eng_feedback['d_-_sg-a-mal_le']['lcc'] = ("""<strong>⇒</strong> You have used the wrong form of the indefinite article “a/an”: {}.
Please check the sentence and change the indefinite article if necessary.""", 1)
eng_feedback['d_-_sg-a-mal_le']['callig'] = """You have used the wrong form of the indefinite article “a/an”."""
eng_feedback['d_-_sg-an-mal_le']['lcc'] = ("""<strong>⇒</strong> You have used the wrong form of the indefinite article “a/an”: {}.
Please check the sentence and change the indefinite article if necessary.""", 1)
eng_feedback['d_-_sg-an-mal_le']['callig'] = """You have used the wrong form of the indefinite article “a/an”."""
eng_feedback['d_-_the-mal_le']['lcc'] = ("""<strong>⇒</strong> There may be a problem with the use or omission of the definite
article 'the' in this sentence. Please check your sentence and remove or insert a 'the' if necessary.""", 1)
eng_feedback['d_-_the-mal_le']['callig'] = """There may be a problem with the use or omission of the definite article 'the' in this sentence."""
eng_feedback['mal_vc_there_are_le']['lcc'] = ("""<strong>⇒</strong> This sentence may have a verb after 'there' which does not agree in
person (e.g. 'I', 'you', 's/he') and number (singular/plural) with the noun that comes after it: {}. Please check the sentence
and ensure that the verb agrees with noun after it.""", 1)
eng_feedback['mal_vc_there_are_le']['callig'] = """This sentence may have a verb after 'there' which does not agree in person (e.g. 'I', 'you', 's/he') and number (singular/plural) with the noun that comes after it."""
eng_feedback['mal_vc_there_is_le']['lcc'] = ("""<strong>⇒</strong> This sentence may have a verb after 'there' which does not agree in
person (e.g. 'I', 'you', 's/he') and number (singular/plural) with the noun that comes after it: {}. Please check the sentence
and ensure that the verb agrees with noun after it.""", 1)
eng_feedback['mal_vc_there_is_le']['callig'] = """This sentence may have a verb after 'there' which does not agree in person (e.g. 'I', 'you', 's/he') and number (singular/plural) with the noun that comes after it."""
eng_feedback['much_a1_rbst']['lcc'] = ("""<strong>⇒</strong> This sentence may have a determiner, such as 'much' or 'many', that should
not be used with the countable/uncountable after it: {}. Please check the sentence and change the determiner if necessary.""", 1)
eng_feedback['much_a1_rbst']['callig'] = """This sentence may have a determiner, such as 'much' or 'many', that should not be used with the countable/uncountable after it."""
################################################################################
# FEEDBACK ON STYLE
################################################################################
eng_feedback['Contraction']['lcc'] = ("""<strong>⇒</strong> This sentence contains a contraction (e.g. 'it's', 'he'll', 'can't): {}. Contractions are
not used in formal documents. You may want to expand the contractions to spell out the verb or the word 'not' in full.""", 1)
eng_feedback['Formal']['lcc'] = ("""<strong>⇒</strong> This sentence may contain overly formal/archaic words or expressions that may make your writing seem stilted or pompous: {}. You may want to replace these words and expressions with more commonly used expressions, such as mentioned above, previously and according to, that will make your writing more accessible. """, 0.5)
eng_feedback['Informal']['lcc'] = ("""<strong>⇒</strong> This sentence may contain subjective or informal words or expressions: {}. You may want to replace these words and expressions with more formal and objective alternatives. """, 0.5)
eng_feedback['LongSentence']['lcc'] = ("""<strong>⇒</strong> This sentence is much longer than the average sentence. It may be difficult for readers to read the sentence and understand it after reading it once. There is also a higher risk of making grammar mistakes in such a long sentence. You may want to consider breaking up the sentence to make it easier for the reader to follow the text.""", 0.5)
eng_feedback['VeryLongSentence']['lcc'] = ("""<strong>⇒</strong> This sentence is much longer than the average sentence. It may be difficult for readers to read the sentence and understand it after reading it once. There is also a higher risk of making grammar mistakes in such a long sentence. You may want to consider breaking up the sentence to make it easier for the reader to follow the text.""", 1)
eng_feedback['PronounStyle']['lcc'] = ("""<strong>⇒</strong> This sentence contains a first person singular pronoun (e.g. 'I', 'mine') or a second person pronoun (e.g. 'you', 'yours'): {}. These pronouns are not used in formal technical writing. You may want to remove the pronouns listed above and use alternative sentence constructions that avoid the use of such pronouns.""", 1)
eng_feedback['ques']['lcc'] = ("""<strong>⇒</strong> The system has identified this sentence as a question (discouraged in formal writing). Read your sentence
carefully, and decide whether you need to change it. You should change it if it is actually a question in the main part of your
proposal. You can ignore the alert if the ‘question’ appears in your references list.""", 0.5)
eng_feedback['WordCase']['lcc'] = ("""<strong>⇒</strong> You may be using upper or lower case (capital and small letters) inappropriately in this
sentence: {}. Please check your sentence and make changes to your use of upper or lower case only if you feel it is
necessary.""", 0.5)
eng_feedback['sb-hd_mc-ques_c_rbst']['lcc'] = ("""<strong>⇒</strong> The system has identified this sentence as a question (discouraged
in formal writing). Please read your sentence carefully, and decide whether you need to change it. You should
change it if it is actually a question in the main part of your proposal. You can ignore the alert if the
‘question’ appears in your references list. """, 0.5)
eng_feedback['comm']['lcc'] = ("""<strong>⇒</strong> The system has identified this sentence as an instruction/command (discouraged in formal proposals)
rather than as a statement/description. However, if you are confident that the ‘sentence’ is not meant to be a sentence in the
first place, you can ignore the alert. For example, the ‘sentence’ may be a heading, part of a list of items and costs, or an
entry in your references list. Read your sentence carefully, and decide whether you need to change it. You should change it
if it is actually a command/instruction.""", 0.5)
# FIXME: Maybe these should be distributed among other categories?
eng_feedback['WordChoice']['lcc'] = ("""<strong>⇒</strong> You may used a word or phrase that our lecturers would like you to avoid: {}. Please double check if it is necessary, and rephrase it if possible.""", 0.5)
################################################################################
# OTHER GENERIC FEEDBACK
################################################################################
eng_feedback['RepeatedWord']['lcc'] = ("""<strong>⇒</strong> You may have repeated a word in this sentence: {}. Please check the sentence and remove one instance of this word if necessary.""", 1)
eng_feedback['Spelling']['lcc'] = ("""<strong>⇒</strong> You may have mispelled a word: {}. Please double check the spelling of this word and change it if necessary.""", 0.5)
eng_feedback['NoParse']['lcc'] = ("""<strong>⇒</strong> The system indicates that this sentence may be problematic but cannot specify the error/s.
Please read the sentence carefully to check whether there are any errors, and correct them.""", 0.5)
################################################################################
# LCC FEEDBACK 2.0
################################################################################
eng_feedback['a_det_mass_rbst']['lcc2'] = ('''<strong>ARTICLE (‘a’ + uncountable noun): {}</strong><br><ul> <li>You may be using ‘a’ (an indefinite article) before an uncountable noun (something that cannot be counted and does not have a plural form, e.g. ‘research’), including nouns which can also be adjectives (e.g. 'disabled'). <li>Please check your sentence for the use of ‘a’ before an uncountable noun, and remove 'a' OR replace 'a' with another determiner or quantifier (e.g. 'a piece of’, ‘a type of’, 'the', 'this') OR add a singular countable noun (e.g. 'person') after the noun which can also be an adjective (e.g. 'a disabled person').</ul>''',1) #
eng_feedback['a_det_plur_rbst']['lcc2'] = ('''<strong>ARTICLE (‘a’ + plural noun): {}</strong><br><ul> <li>You may be using ‘a’ (an indefinite article) before a plural countable noun (more than one item of something that can be counted and has a plural form, e.g. ‘devices’). <li>Please check your sentence for the use of ‘a’ before a plural countable noun, and remove 'a' OR replace 'a' with another determiner or quantifier (e.g. 'the', 'these', 'some') OR replace the plural countable noun with a singular one (e.g. ‘device’).</ul>''',1) #
eng_feedback['an_det_plur_rbst']['lcc2'] = ('''<strong>ARTICLE (‘an’ + plural nouns): {}</strong><br><ul> <li>You may be using ‘an’ (an indefinite article), before a plural countable noun (more than one of something that can be counted and has a plural form, e.g. 'errors').<li>Please check your sentence for the use of ‘an’ before a plural countable noun, and remove 'an' OR replace 'an' with another determiner or quantifier (e.g. 'the', 'these', 'some') OR replace the plural countable noun with a singular one (e.g. ‘error’).</ul>''',1) #
eng_feedback['a_prop_1_rbst']['lcc2'] = ('''<strong>ARTICLE (‘a’ + proper noun): {}</strong><br><ul> <li>You may have used ‘a’ (an indefinite article) before a proper noun (the name of a specific thing, usually beginning with a capital letter, e.g. ‘Singapore’).<li>Please check your sentence for the use of ‘a’ before a proper noun on its own (e.g. ‘a Singapore’), and remove ‘a’ if necessary.</ul>''',0.5) #
eng_feedback['after_pp_rbst']['lcc2'] = ('''<strong>PREPOSITION (‘after’ following by nothing): {}</strong><br><ul> <li>You may have used the preposition ‘after’ on its own, without specifying an event or object (e.g. ‘after this’, ‘after a minute’).<li>Please check your sentence for the use of ‘after’, and remove ‘after’ OR add an event or object behind ‘after’ (e.g. after this step’) OR change ‘after’ to ‘afterwards’.</ul>''',0.5) #
eng_feedback['an_det_mass_rbst']['lcc2'] = ('''<strong>ARTICLE (‘an’ + uncountable noun): {}</strong><br><ul> <li>You may be using ‘an’ (an indefinite article), before an uncountable noun (which does not have a plural form, e.g. 'information'), including nouns which can also be adjectives (e.g. 'elderly').<li>Please check your sentence for the use of ‘an’ before an uncountable noun, and remove the 'an' OR replace 'an' with another determiner or quantifier (e.g. 'the', 'a piece of’, ‘a type of', 'some') OR add a singular countable noun (e.g. 'person') after the noun which can also be an adjective (e.g. 'an elderly person').</ul>''',1) #
eng_feedback['an_prop_1_rbst']['lcc2'] = ('''<strong>ARTICLE (‘an’ + proper noun): {}</strong><br><ul> <li>You may have used ‘an’ (an indefinite article) before a proper noun (the name of a specific thing, usually beginning with a capital letter, e.g. ‘Asia’).<li>Please check your sentence for the use of ‘an’ before a proper noun on its own (e.g. ‘an Asia’), and remove ‘an’ if necessary.</ul>''',0.5) #
eng_feedback['bad_adv1_rbst']['lcc2'] = ('''<strong>ADVERB (‘bad’ vs. ‘badly’): {}</strong><br><ul> <li>You may be using ‘bad’ (an adjective: used to describe things) instead of ‘badly’ or ‘poorly’ (adverbs: used to describe actions) to describe an action.<li>Please check your sentence for the use of ‘bad’, and change it to ‘badly’ or ‘poorly’ if necessary.</ul>''',0.5) #
eng_feedback['good_adv1_rbst']['lcc2'] = ('''<strong>ADVERB (‘good’ vs. ‘well’): {}</strong><br><ul> <li>You may be using ‘good’ (an adjective: used to describe things) instead of ‘well’ (adverbs: used to describe actions) to describe an action.<li>Please check your sentence for the use of ‘good’, and change it to ‘well’ if necessary.</ul>''',0.5) #
eng_feedback['be_are_have_rbst']['lcc2'] = ('''<strong>VERB FORM ('are' vs. 'have'): {}</strong><br><ul> <li>You may have used ‘are’ instead of ‘have’ at the beginning of a verb phrase (words describing an action, e.g. 'are solved', 'have solved').<li>Please check your sentence for the wrong use of ‘are’ at the beginning of a verb phrase, and change ‘are’ to ‘have’ if necessary.</ul>''',1) #
eng_feedback['be_is_has_rbst']['lcc2'] = ('''<strong>VERB FORM ('is' vs. 'has'):{}</strong><br><ul> <li>You may have used ‘is’ instead of ‘has’ at the beginning of a verb phrase (words describing an action, e.g. 'is done', 'has done').<li>Please check your sentence for the wrong use of ‘is’ at the beginning of a verb phrase, and change ‘is’ to ‘has’ if necessary.</ul>''',1) #
eng_feedback['be_c_are_rbst']['lcc2'] = ('''<strong>AGREEMENT ('are' vs. 'is'): {}</strong><br><ul> <li>This sentence may have the verb 'are', which does not agree with its subject, in person (e.g. 'she', 'it') and/or number (singular: just one item, e.g. 'device').<li>Please check the sentence, and change 'are' to 'is' so the verb agrees with its subject OR change the subject to a plural noun (more than one item, e.g. 'The devices are ...').</ul>''',1) #
eng_feedback['be_c_been_rbst']['lcc2'] = ('''<strong>VERB FORM ('been'): {}</strong><br><ul> <li>You may have used the verb 'been' incorrectly, without 'has', 'have', 'having' or 'had' before it, in the sentence.<li>Please check your use of 'been' in the sentence, and change it to 'has been', 'have been', 'having been' or 'had been' OR change 'be' to another form of the verb 'be' (such as 'am', 'is', 'are', 'was', or 'were').</ul>''',1) #
eng_feedback['be_c_is_rbst']['lcc2'] = ('''<strong>AGREEMENT ('is' vs. 'are'): {}</strong><br><ul> <li>This sentence may have the verb 'is', which does not agree with its subject, in person (e.g. 'I', 'you') and/or number (plural: more than one item, e.g. 'devices', 'they').<li>Please check the sentence for the use of ‘is’, and change 'is' to 'are' so the verb agrees with its subject OR change the subject to a singular noun (just one item, e.g. 'a device').</ul>''',1) #
eng_feedback['be_np_are_rbst']['lcc2'] = ('''<strong>AGREEMENT ('is' vs. 'are'): {}</strong><br><ul> <li>This sentence may have the verb 'is', which does not agree with its subject, in person (e.g. 'I', 'you') and/or number (plural: more than one item, e.g. 'companies', 'they').<li>Please check the sentence for the use of ‘is’, and change 'is' to 'are' so the verb agrees with its subject OR change the subject to a singular noun (just one item, e.g. 'a company').</ul>''',0.5) #
eng_feedback['be_np_is_rbst']['lcc2'] = ('''<strong>AGREEMENT ('are' vs. 'is'): {}</strong><br><ul> <li>This sentence may have the verb 'are', which does not agree with its subject, in person (e.g. 'I', 'he/she/it') and/or number (singular: just one item, e.g. 'company').<li>Please check the sentence for the use of ‘are’, and change 'are' to 'is' so the verb agrees with its subject OR change the subject to a plural noun (more than one item, e.g. 'companies').</ul>''',0.5) #
eng_feedback['be_th_cop_are_rbst']['lcc2'] = ('''<strong>AGREEMENT ('there are' vs. 'there is'): {}</strong><br><ul> <li>You may have used 'there are' followed by a singular noun (one item of something which can be counted, e.g. 'device') in this sentence.<li>Please check the sentence, and change 'there are' to 'there is' OR change the singular noun to a plural noun (e.g. 'there are devices ...').</ul>''',1) #
eng_feedback['be_th_cop_is_rbst']['lcc2'] = ('''<strong>AGREEMENT ('there is' vs. 'there are'): {}</strong><br><ul> <li>You may have used 'there is' followed by a plural noun (more than one item of something which can be counted, e.g. 'devices') in this sentence.<li>Please check the sentence, and change 'there is' to 'there are' OR change the plural noun to a singular noun (e.g. 'there is a device ...').</ul>''',1) #
eng_feedback['cl-cl_runon-cma_c_rbst']['lcc2'] = ('''<strong>COMMA SPLICE: {}</strong><br><ul> <li>This sentence appears to have a comma separating two independent clauses (parts of a sentence that can stand on their own as sentences). <li>Please check the sentence, and consider using a period/full-stop (.), a semi-colon (;) or an appropriate conjunction (e.g. 'and', 'but', 'so') to separate the 2 clauses instead of a comma.</ul>''',0.5) #
eng_feedback['comm']['lcc2'] = ('''<strong>IMPERATIVES: {}</strong><br><ul> <li>The system has identified this sentence as an instruction/command (e.g. 'Collaborate with xxx'), which is discouraged in formal proposals. However, if you are confident that the ‘sentence’ is not meant to be a sentence in the first place, you can ignore the alert. For example, the ‘sentence’ may be part of a list of items and costs. <li>Read your sentence carefully, and change the instruction/command to a statement or description (e.g. 'Collaboration with xxx will ...') if it is actually a command/instruction.</ul>''',0.5) #
eng_feedback['Contraction']['lcc2'] = ('''<strong>CONTRACTION: {}</strong><br><ul> <li>This sentence may contain a contraction of a word or 2 words (e.g. 'it's', 'can't).<li>As contractions are not used in formal documents, please check the sentence for contractions, and spell out the word/s in full (e.g. 'it is …', 'cannot') if necessary.</ul>''',1) #
eng_feedback['d_-_poss-its-mal_le']['lcc2'] = ('''<strong>POSSESSIVE ('it's' vs. 'its'): {}</strong><br><ul> <li>This sentence appears to have a contraction, 'it's' (meaning: 'it is'), instead of 'its' (meaning: 'belonging to it') in it. <li>Please check the sentence, and remove the apostrophe (') if necessary, so 'it's' becomes 'its'.</ul>''',1) #
eng_feedback['d_-_sg-a-mal_le']['lcc2'] = ('''<strong>ARTICLE ('a' vs. 'an'): {}</strong><br><ul> <li>You may have used the wrong indefinite article 'a' instead of 'an' in your sentence (e.g. 'a hour'). If the word after the indefinite article begins with a vowel sound (sounds associated with 'a', 'e', 'i', 'o', and 'u', e.g. 'hour'), you should use 'an' before the word (e.g. 'an hour').<li>Please check the sentence, and change the indefinite article from 'a' to 'an' if necessary.</ul>''',1) #
eng_feedback['d_-_sg-an-mal_le']['lcc2'] = ('''<strong>ARTICLE ('an' vs. 'a'): {}</strong><br><ul> <li>You may have used the wrong indefinite article 'an' instead of 'a' in your sentence (e.g. 'an user', 'an one-time case'). If the word after the indefinite article does NOT begin with a vowel sound (sounds associated with 'a', 'e', 'i', 'o', and 'u'), you should use 'a' before the word (e.g. 'a user', 'a one-time case'). Please be careful about words that begin with vowels in their spelling but not in their pronunciation. For example, 'user' begins with a 'u' in its spelling but with a sound similar to 'y' in its pronunciation. <li>Please check the sentence, and change the indefinite article from 'an' to 'a' if necessary.</ul>''',1) #
eng_feedback['do1_pos_sg_rbst']['lcc2'] = ('''<strong>AGREEMENT ('do' vs. 'does'): {}</strong><br><ul> <li>This sentence may have the verb 'do' at the beginning of a verb phrase (e.g. 'do make'), which does not agree with its subject, in person (e.g. 'it') and/or number (singular: one item, e.g. 'the device').<li>Please check the sentence for the use of 'do’ at the beginning of a verb phrase, and change it to 'does' (e.g. 'does make') so the verb agrees with its subject OR change the subject to a plural noun (more one item, e.g. 'The devices do make ...').</ul>''',1) #
eng_feedback['does1_pos_pl_rbst']['lcc2'] = ('''<strong>AGREEMENT ('does' vs. 'do'): {}</strong><br><ul> <li>This sentence may have the verb 'does' at the beginning of a verb phrase (e.g. 'does make'), which does not agree with its subject, in person (e.g. 'I', 'you') and/or number (plural: more than one item, e.g. 'the devices').<li>Please check the sentence for the use of 'does’ at the beginning of a verb phrase, and change it to 'do' (e.g. 'do make') so the verb agrees with its subject OR change the subject to a singular noun (one item, e.g. 'The device does make ...').</ul>''',1) #
eng_feedback['every_all_rbst']['lcc2'] = ('''<strong>DETERMINER ('every' + plural noun):{}</strong><br><ul> <li>You may have used 'every' (a determiner) before a plural countable noun (more than one item of something that can be counted and has a plural form, e.g. ‘devices’) in this sentence.<li>Please check your use of ‘every’ in the sentence carefully, and change 'every' to 'all’/’all the’/’both’/’both the' OR change the plural countable noun (e.g. 'devices') to a singular one (e.g. 'device') if necessary.</ul>''',1) #
eng_feedback['everyday_adv_rbst']['lcc2'] = ('''<strong>ADVERB ('every day' vs. 'everyday'): {}</strong><br><ul> <li>You have used 'everyday' as an adverb (a word describing an action or event) in your sentence when it is an adjective (a word that describes a thing or entity).<li>Please check your sentence carefully, and add a space between 'every' and 'day' (e.g. 'The system is checked every day.') if necessary.</ul>''',1) #
eng_feedback['Formal']['lcc2'] = ('''<strong>TOO FORMAL: {}</strong><br><ul> <li>This sentence may contain overly formal/archaic words or expressions (such as 'aforementioned') that may make your writing seem stilted or pompous.<li>You may want to replace these words and expressions with more commonly used expressions, such as 'previously mentioned', that will make your writing more accessible.</ul>''',0.5) #
eng_feedback['hdn_bnp_c_rbst']['lcc2'] = ('''<strong>ARTICLE (missing): {}</strong><br><ul> <li>This sentence has a singular noun (one item of something which can be counted, e.g. 'device') without an article ('a', 'an', 'the'), determiner (e.g. 'each', 'this') or possessive (e.g. 'her', 'its') before it.<li>Please check your sentence carefully, and add an article, determiner or possessive before the singular noun (e.g. 'the device') OR change the subject to a plural noun (more than one item, e.g. 'devices').</ul>''',1) #
eng_feedback['Informal']['lcc2'] = ('''<strong>INFORMAL: {}</strong><br><ul> <li>This sentence may contain subjective or informal words or expressions.<li>You may want to replace these words and expressions with more formal and objective alternatives.</ul>''',0.5) #
eng_feedback['LongSentence']['lcc2'] = ('''<strong>LONG SENTENCE: {}</strong><br><ul> <li>This sentence is much longer than the average sentence. It may be difficult for readers to read the sentence and understand it after reading it once. There is also a higher risk of making grammar mistakes in such a long sentence. <li>You may want to consider breaking up the sentence to make it easier for the reader to follow the text, and to avoid making mistakes.</ul>''',0.5) #
eng_feedback['mal_va_has_le']['lcc2'] = ('''<strong>AGREEMENT ('have' vs. 'has'): {}</strong><br><ul> <li>This sentence may have the verb 'have', which does not agree with its subject, in person (e.g. 'she', 'it') and/or number (singular: just one item, e.g. 'device').<li>Please check the sentence, and change 'have' to 'has' so the verb agrees with its subject OR change the subject to a plural noun (more than one item, e.g. 'The devices have ...').</ul>''',1) #
eng_feedback['mal_va_have_fin_le']['lcc2'] = ('''<strong>AGREEMENT ('has' vs. 'have'): {}</strong><br><ul> <li>This sentence may have the verb 'has', which does not agree with its subject, in person (e.g. 'I', 'you') and/or number (plural: more than one item, e.g. 'devices').<li>Please check the sentence, and change 'have' to 'has' so the verb agrees with its subject OR change the subject to a singular noun (just one item, e.g. 'The device has ...').</ul>''',1) #
eng_feedback['mal_vc_prd_be_le']['lcc2'] = ('''<strong>VERB FORM ('be'): {}</strong><br><ul> <li>You may have used the verb 'be' incorrectly in the sentence.<li>Please check your sentence, and change 'be' to another form (e.g. 'is/are/am', 'was/were', 'being', 'been', 'will/shall be') OR remove the verb 'be' if necessary.</ul>''',1) #
eng_feedback['many_div_mal_adj ']['lcc2'] = ('''<strong>DETERMINER ('many' + uncountable noun): {}</strong><br><ul> <li>You may have used 'many' before an uncountable noun (e.g. 'information') in this sentence.<li>Please check your sentence for the use of 'many' before an uncountable noun, and change 'many' to 'a lot of', 'some', 'the', 'this', or 'that' if necessary.</ul>''',1) #
eng_feedback['many_mal_adj']['lcc2'] = ('''<strong>DETERMINER ('many' + singular noun): {}</strong><br><ul> <li>You may have used 'many' before a singular countable noun (just one item of something which can be counted, e.g. 'device') in this sentence.<li>Please check your sentence for the use of 'many' before a singular countable noun, and change the noun to a plural noun (e.g. 'many devices') OR change 'many' to 'a', 'the', 'this', or 'that' if necessary.</ul>''',1) #
eng_feedback['much_a1_rbst']['lcc2'] = ('''<strong>DETERMINER ('much' + plural noun): {}</strong><br><ul> <li>You may have used 'much' before a plural countable noun (more than one item of something which can be counted, e.g. 'devices') in this sentence.<li>Please check your sentence for the use of 'much' before a plural countable noun, and change it to 'many' or 'some' if necessary (e.g. 'many devices').</ul>''',1) #
eng_feedback['n_pl_mass_olr_rbst']['lcc2'] = ('''<strong>NOUN (uncountable + plural marker): {}</strong><br><ul> <li>You may have added a plural marker (e.g. '-s') to an uncountable noun (something that cannot be counted and does not have a plural form, e.g. ‘research’).<li>Please check your sentence, and remove the plural marker (e.g. 'researches') from the uncountable noun.</ul>''',0.5) #
eng_feedback['n_pl-mass_olr_rbst']['lcc2'] = ('''<strong>PLURAL (uncountable): {}</strong><br><ul> <li>This sentence contains an uncountable noun (something that cannot be counted and does not have a plural form, e.g. ‘information’) with a plural marking (e.g. 'informations').<li>Please check the uncountable noun in the sentence, and remove its plural marking if necessary.</ul>''',0.5) #
eng_feedback['non_third_sg_fin_v_rbst']['lcc2'] = ('''<strong>AGREEMENT (plural noun): {}</strong><br><ul> <li>This sentence may have a verb that expects subject which is a singular noun (just one item of something which can be counted, e.g. 'device') , but its subject does not agree with the verb. <li>Please check the sentence, and change the verb so it agrees with its subject (e.g. 'The devices cost ...') OR make the subject a singular noun (e.g. 'The device costs ...').</ul>''',1) #
eng_feedback['NoParse']['lcc2'] = ('''<strong>UNKNOWN/TOO MANY ERRORS: {}</strong><br><ul> <li>The system indicates that this sentence may be problematic but cannot specify the error/s. <li>Please read the sentence carefully to check whether there are any errors, and correct them.</ul>''',0.5) #
eng_feedback['num_det_2_rbst']['lcc2'] = ('''<strong>NUMBER (plural): {}</strong><br><ul> <li>You may have used a singular noun (one item of something which can be counted, e.g. 'device') with a number for plural nouns (e.g. 'two device').<li>Please check the number and the noun, and change the singular noun to a plural noun (e.g. 'devices') OR change the number to one (e.g. 'One device', '1 device') if necessary.</ul>''',1) #
eng_feedback['num_det_1_rbst']['lcc2'] = ('''<strong>NUMBER (plural): {}</strong><br><ul> <li>You may have used a plural noun (more than one item of something which can be counted, e.g. 'devices') with a number for singular nouns (e.g. 'one devices').<li>Please check the number and the noun, and change the plural noun to a singular noun (e.g. 'device') OR change the number to (e.g. '2 devices', 'three devices') if necessary.</ul>''',1) #
eng_feedback['only_adv1_mal']['lcc2'] = ('''<strong>ADVERBIAL ('only'):{}</strong><br><ul> <li>Only' may be in the wrong position in your sentence. <li>Please check the sentence and move 'only' to another position in the sentence if necessary.</ul>''',0.5) #
eng_feedback['other_rbst']['lcc2'] = ('''<strong>DETERMINER ('other'): {}</strong><br><ul> <li>You may have used 'other' before a singular noun (one item of something which can be counted, e.g. 'device') in this sentence.<li>Please check the sentence, and replace 'other' with 'another' (e.g. 'another device') OR change the noun to its plural form (e.g. 'other devices') if necessary.</ul>''',0.5)
eng_feedback['PronounStyle']['lcc2'] = ('''<strong>PRONOUN (1st or 2nd person): {}</strong><br><ul> <li>This sentence contains a first person singular pronoun (e.g. 'I', 'mine') or a second person pronoun (e.g. 'you', 'yours'). These pronouns are not used in formal technical writing. <li>You may want to remove the first person singular or second person pronouns (e.g. 'You can use the product to …'), and use alternative sentence constructions, such as passive constructions (e.g. 'The product can be used to …'), that avoid the use of such pronouns.</ul>''',1) #
eng_feedback['ques']['lcc2'] = ('''<strong>INTERROGATIVE: {}</strong><br><ul> <li>The system has identified this sentence as a question, which is discouraged in formal writing.<li>Read your sentence carefully, and decide whether you need to change it. You should change it if it is actually a question in the main part of your proposal. </ul>''',0.5)
eng_feedback['RepeatedWord']['lcc2'] = ('''<strong>REPETITION: {}</strong><br><ul> <li>You may have repeated a word in this sentence.<li>Please check the sentence, and remove one instance of this word if necessary.</ul>''',1) #
eng_feedback['sb-hd_mc-cma_c_rbst']['lcc2'] = ('''<strong>COMMA: {}</strong><br><ul> <li>You may have used a comma just before a verb in the sentence (e.g. 'The device, is needed …').<li>Please check the sentence, and remove the comma if necessary.</ul>''',0.5) #
eng_feedback['sb-hd_mc-ques_c_rbst']['lcc2'] = ('''<strong>QUESTION MARK: {}</strong><br><ul> <li>You may have used a question mark at the end of a sentence that is not meant to be a question (e.g. 'How this device is used can be easily understood?').<li>Please check the sentence, and change the question mark to a period/full stop if necessary (e.g. 'How this device is used can be easily understood.').</ul>''',1) #
eng_feedback['such_a_det_rbst']['lcc2'] = ('''<strong>DETERMINER ('such a'): {}</strong><br><ul> <li>You have used 'such' immediately before a singular noun (one item of something which can be counted, e.g. 'device') in this sentence when there should be an article, 'a', between them (e.g. 'such a device').<li>Please read your sentence carefully, and insert 'a' after 'such' (e.g. 'such a device') OR change the singular noun to a plural noun (e.g. 'such devices') if necessary.</ul>''',1) #
eng_feedback['such_an_det_rbst']['lcc2'] = ('''<strong>DETERMINER ('such an'): {}</strong><br><ul> <li>You have used 'such' immediately before a singular noun (one item of something which can be counted, e.g. 'error') in this sentence when there should be an article, 'an', between them (e.g. 'such an error').<li>Please read your sentence carefully, and insert 'an' after 'such' (e.g. 'such an error') OR change the singular noun to a plural noun (e.g. 'such errors') if necessary.</ul>''',1) #
eng_feedback['that_det_rbst']['lcc2'] = ('''<strong>DETERMINER ('that' vs. 'those'): {}</strong><br><ul> <li>You may have used the determiner 'that' instead of 'those' before a plural countable noun (more than one item of something that can be counted and has a plural form, e.g. 'devices') in your sentence.<li>Please check your sentence for the use of ‘that’ before a plural noun, and change it to ‘those’ OR change the plural noun to a singular noun (e.g. ‘that device’).</ul>''',1) #
eng_feedback['the_2_rbst']['lcc2'] = ('''<strong>ARTICLE ('the' + 'a'): {}</strong><br><ul> <li>You may have used ‘the’ (a definite article) before ‘a’ (an indefinite article) in front of a noun (a thing or entity).<li>Please check your sentence for the use of ‘the a’, and remove either ‘the’ or ‘a’.</ul>''',1) #
eng_feedback['the_3_rbst']['lcc2'] = ('''<strong>ARTICLE ('a' + 'the'): {}</strong><br><ul> <li>You may have used ‘a’ (an indefinite article) before ‘the’ (a definite article) in front of a noun (a thing or entity).<li>Please check your sentence for the use of ‘a the’, and remove either ‘a’ or ‘the’.</ul>''',1) #
eng_feedback['the_4_rbst']['lcc2'] = ('''<strong>ARTICLE/DETERMINER ('the' + 'both'): {}</strong><br><ul> <li>You may have used ‘the’ (a definite article) before ‘both’ (a determiner) in front of a noun (a thing or entity).<li>Please check your sentence for the use of ‘the both’, and remove either ‘the’ or ‘both’.</ul>''',1) #
eng_feedback['the_5_rbst']['lcc2'] = ('''<strong>ARTICLE/DETERMINER ('the' + 'this'): {}</strong><br><ul> <li>You may have used ‘the’ (a definite article) before ‘this’ (a determiner) in front of a noun (a thing or entity).<li>Please check your sentence for the use of ‘the this’, and remove either ‘the’ or ‘this’.</ul>''',1) #
eng_feedback['the_6_rbst']['lcc2'] = ('''<strong>ARTICLE/DETERMINER ('the' + 'these'): {}</strong><br><ul> <li>You may have used ‘the’ (a definite article) before ‘these’ (a determiner) in front of a noun (a thing or entity).<li>Please check your sentence for the use of ‘the these’, and remove either ‘the’ or ‘these’.</ul>''',1) #
eng_feedback['the_7_rbst']['lcc2'] = ('''<strong>ARTICLE/DETERMINER ('the' + 'each'): {}</strong><br><ul> <li>You may have used ‘the’ (a definite article) before ‘each’ (a determiner) in front of a noun (a thing or entity).<li>Please check your sentence for the use of ‘the each’, and remove either ‘the’ or ‘each’.</ul>''',1) #
eng_feedback['the_stutter_1']['lcc2'] = ('''<strong>ARTICLE (repeated, hyphen):{}</strong><br><ul> <li>You may have used 'the-the' (with a hyphen) in this sentence.<li>Please check your sentence carefully, and change 'the-the' to 'the'.</ul>''',1) #
eng_feedback['the_stutter_2']['lcc2'] = ('''<strong>ARTICLE (repeated, comma):{}</strong><br><ul> <li>You may have used 'the, the' (with a comma in between) in this sentence.<li>Please check your sentence carefully, and change 'the, the' to 'the'.</ul>''',1) #
eng_feedback['this_det_rbst']['lcc2'] = ('''<strong>DETERMINER ('this' vs. 'these'): {}</strong><br><ul> <li>You may have used the determiner 'this' instead of 'these' before a plural countable noun (more than one item of something that can be counted and has a plural form, e.g. 'devices') in your sentence.<li>Please check your sentence for the use of 'this' before a plural noun, and change it to 'these' OR change the plural noun to a singular noun (e.g. 'that device').</ul>''',1) #
eng_feedback['afternoon_nospr_n1_rbst']['lcc2'] = ('''<strong>ARTICLE ('the afternoon'): {}</strong><br><ul> <li>You may be using 'afternoon' on its own instead of 'the afternoon' in the sentence.<li>Please check your sentence, and add 'the' before 'afternoon' if necessary.</ul>''',1) #
eng_feedback['evening_nospr_n1_rbst']['lcc2'] = ('''<strong>ARTICLE ('the evening'): {}</strong><br><ul> <li>You may be using 'evening' on its own instead of 'the evening' in the sentence.<li>Please check your sentence, and add 'the' before 'evening' if necessary.</ul>''',1) #
eng_feedback['its_be_cop_rbst ']['lcc2'] = ('''<strong>APOSTROPHE ('its' vs. 'it's): {}</strong><br><ul> <li>You may have used 'its' (meaning: belonging to it) instead of 'it's' (meaning: 'it is') in this sentence (e.g. 'Its simple to use').<li>Please check the use of 'its' in the sentence, and change it to 'it is' if necessary (e.g. 'It is simple to use'). Contractions such as 'it's' are not used in formal writing.</ul>''',1) #
eng_feedback['its_be_np_rbst ']['lcc2'] = ('''<strong>APOSTROPHE ('its' vs. 'it's): {}</strong><br><ul> <li>You may have used 'its' (meaning: belonging to it) instead of 'it's' (meaning: 'it is') in this sentence (e.g. 'Its a useful device').<li>Please check the use of 'its' in the sentence, and change it to 'it is' if necessary (e.g. 'It is a useful device'). Contractions such as 'it's' are not used in formal writing.</ul>''',1) #
eng_feedback['its_poss_2_rbst']['lcc2'] = ('''<strong>DETERMINER ('it's' vs. 'its'): {}</strong><br><ul> <li>You may have used 'it's' (meaning: 'it is') instead of 'its' (meaning: belonging to it) in this sentence (e.g. 'The device relies on it's sensors').<li>Please check the use of 'it's' in the sentence, and change it to 'its' if necessary (e.g. 'The device relies on its sensors'). </ul>''',1) #
eng_feedback['its_poss_2_u_rbst']['lcc2'] = ('''<strong>DETERMINER ('it's' vs. 'its'): {}</strong><br><ul> <li>You may have used 'it's' (meaning: 'it is') instead of 'its' (meaning: belonging to it) in this sentence (e.g. 'The device relies on it's sensors').<li>Please check the use of 'it's' in the sentence, and change it to 'its' if necessary (e.g. 'The device relies on its sensors'). </ul>''',1) #
eng_feedback['its_poss_rbst']['lcc2'] = ('''<strong>DETERMINER ('it's' vs. 'its'): {}</strong><br><ul> <li>You may have used 'it's' (meaning: 'it is') instead of 'its' (meaning: belonging to it) in this sentence (e.g. 'The device relies on it's sensors').<li>Please check the use of 'it's' in the sentence, and change it to 'its' if necessary (e.g. 'The device relies on its sensors'). </ul>''',1) #
eng_feedback['morning_nospr_n1_rbst']['lcc2'] = ('''<strong>ARTICLE ('the morning'): {}</strong><br><ul> <li>You may be using 'morning' on its own instead of 'the morning' in the sentence.<li>Please check your sentence, and add 'the' before 'morning' if necessary.</ul>''',1) #
eng_feedback['their_rbst']['lcc2'] = ('''<strong>DETERMINER ('there' vs. 'their'): {}</strong><br><ul> <li>You may have used 'there' instead of 'their' in this sentence.<li>Please check the sentence and change 'there' to 'their' if necessary.</ul>''',1) #
eng_feedback['third_sg_fin_v_rbst']['lcc2'] = ('''<strong>AGREEMENT (singular noun): {}</strong><br><ul> <li>This sentence may have a subject which is a singular noun (just one item of something which can be counted, e.g. 'device') with a verb for a plural subject (e.g. 'The device cost ...').<li>Please check the sentence, and change the verb so it agrees with its subject (e.g. 'The device costs ...') OR make the subject a plural noun (e.g. 'The devices cost ...').</ul>''',1) #
eng_feedback['too_deg_nc_rbst']['lcc2'] = ('''<strong>ADVERB ('too' vs. 'to'): {}</strong><br><ul> <li>You may have used 'to' instead of 'too' in this sentence.<li>Please check your use of 'to' in the sentence, and change it to 'too' if necessary.</ul>''',0.5) #
eng_feedback['too_deg_rbst']['lcc2'] = ('''<strong>ADVERB ('too' vs. 'to'): {}</strong><br><ul> <li>You have used 'to' more than once in this sentence (e.g. 'the device is to hot to handle') instead of using 'too' in one of these instances (e.g. 'the device is too hot to handle').<li>Please check the sentence to see if 'too' should replace 'to' anywhere in the sentence.</ul>''',0.5) #
eng_feedback['v_pst_olr_rbst']['lcc2'] = ('''<strong>VERB FORM (participle): {}</strong><br><ul> <li>You may have used the wrong form of a verb on its own (e.g. 'shown', 'done') in this sentence (e.g. 'This shown that ...', 'This done by ...')<li>Please check the sentence, and change the verb form (e.g. 'This showed that ...', 'This is done by ...'), if necessary.</ul>''',1) #
eng_feedback['VeryLongSentence']['lcc2'] = ('''<strong>V LONG SENTENCE: {}</strong><br><ul> <li>This sentence is much longer than the average sentence. It may be difficult for readers to read the sentence and understand it after reading it once. There is also a higher risk of making grammar mistakes in such a long sentence. <li>You may want to consider breaking up the sentence to make it easier for the reader to follow the text.</ul>''',1) #
eng_feedback['w_comma-sdwch_plr_rbst']['lcc2'] = ('''<strong>COMMA (missing space): {}</strong><br><ul> <li>This sentence has a comma without any space after it (e.g. 'The device is cheap,portable and user-friendly.'). <li>Please check the sentence, and add a space after the comma (e.g. 'The device is cheap, portable and user-friendly.') if necessary.</ul>''',0.5) #
eng_feedback['w_hasinitcap_dlr']['lcc2'] = ('''<strong>ARTICLE ('the evening'): {}</strong><br><ul> <li>You may be starting your sentence without a capital letter (e.g. 'the problem is …').<li>Please check your sentence, and start the first word with a capital letter if necessary (e.g. 'The problem is …').</ul>''',0.5)
eng_feedback['WordCase']['lcc2'] = ('''<strong>WORD CASE (capitals): {}</strong><br><ul> <li>You may be using lower case (small letters) instead of capital letters (upper case) for a word or words (e.g. 'singapore') in this sentence.<li>Please check your sentence, and lower case to upper case only if you feel it is necessary (e.g. 'Singapore').</ul>''',0.5)
################################################################################
# LCC FEEDBACK 3.0
################################################################################
eng_feedback['a_det_mass_rbst']['lcc3'] = ('''<strong>ARTICLE ('a' + uncountable noun): {}</strong><br><ul> <li>You may be using 'a' (an indefinite article) before an uncountable noun (something that cannot be counted and does not have a plural form, e.g. 'a research'), including nouns which can also be adjectives (e.g. 'a disabled'). <li>Please remove 'a' OR replace 'a' with another determiner or quantifier (e.g. 'a piece of equipment', 'a type of software', 'some research', 'this information') OR add a singular countable noun (e.g. 'person') after the noun which can also be an adjective (e.g. 'a disabled person').</ul>''',1) #
eng_feedback['a_det_plur_rbst']['lcc3'] = ('''<strong>ARTICLE ('a' + plural noun): {}</strong><br><ul> <li>You may be using 'a' (an indefinite article) before a plural countable noun (more than one item of something that can be counted and has a plural form, e.g. 'a devices'). <li>Please remove 'a' OR replace 'a' with another determiner or quantifier (e.g. 'the devices', 'these devices', 'some devices') OR replace the plural countable noun with a singular one (e.g. 'a device').</ul>''',1) #
eng_feedback['an_det_plur_rbst']['lcc3'] = ('''<strong>ARTICLE ('an' + plural nouns): {}</strong><br><ul> <li>You may be using 'an' (an indefinite article), before a plural countable noun (more than one of something that can be counted and has a plural form, e.g. 'an errors').<li>Please remove 'an' OR replace 'an' with another determiner or quantifier (e.g. 'the errors', 'these errors', 'some errors') OR replace the plural countable noun with a singular one (e.g. 'an error').</ul>''',1) #
eng_feedback['a_prop_1_rbst']['lcc3'] = ('''<strong>ARTICLE ('a' + proper noun): {}</strong><br><ul> <li>You may have used 'a' (an indefinite article) before a proper noun (the name of a specific thing, usually beginning with a capital letter, e.g. 'a Singapore').<li>Please remove 'a' before the proper noun if necessary.</ul>''',0.5) #
eng_feedback['after_pp_rbst']['lcc3'] = ('''<strong>PREPOSITION ('after' following by nothing): {}</strong><br><ul> <li>You may have used the preposition 'after' on its own, without specifying an event or object (e.g. 'the device is turned on after').<li>Please remove 'after' OR add an event or object behind 'after' (e.g. 'the device is turned on after this step') OR change 'after' to 'the device is turned on afterwards'.</ul>''',0.5) #
eng_feedback['an_det_mass_rbst']['lcc3'] = ('''<strong>ARTICLE ('an' + uncountable noun): {}</strong><br><ul> <li>You may be using 'an' (an indefinite article), before an uncountable noun (which does not have a plural form, e.g. 'an information'), including nouns which can also be adjectives (e.g. 'an elderly').<li>Please remove the 'an' OR replace 'an' with another determiner or quantifier (e.g. 'the information', 'a piece of information', 'a type of software', 'some research') OR add a singular countable noun (e.g. 'person') after the noun which can also be an adjective (e.g. 'an elderly person').</ul>''',1) #
eng_feedback['an_prop_1_rbst']['lcc3'] = ('''<strong>ARTICLE ('an' + proper noun): {}</strong><br><ul> <li>You may have used 'an' (an indefinite article) before a proper noun (the name of a specific thing, usually beginning with a capital letter, e.g. 'an Asia').<li>Please remove 'an' before the proper noun if necessary.</ul>''',0.5) #
eng_feedback['bad_adv1_rbst']['lcc3'] = ('''<strong>ADVERB ('bad' vs. 'badly'): {}</strong><br><ul> <li>You may be using 'bad' (an adjective: used to describe things) instead of 'badly' or 'poorly' (adverbs: used to describe actions) to describe an action (e.g. 'the situation ended bad').<li>Please check if 'bad' should be changed to 'badly' or 'poorly' in your sentence (e.g. 'the situation ended badly').</ul>''',0.5) #
eng_feedback['good_adv1_rbst']['lcc3'] = ('''<strong>ADVERB ('good' vs. 'well'): {}</strong><br><ul> <li>You may be using 'good' (an adjective: used to describe things) instead of 'well' (adverbs: used to describe actions) to describe an action (e.g. 'the machine performed good').<li>Please check if 'good' should be changed to 'well' in your sentence (e.g. 'the machine performed well').</ul>''',0.5) #
eng_feedback['be_are_have_rbst']['lcc3'] = ('''<strong>VERB FORM ('are' vs. 'have'): {}</strong><br><ul> <li>You may have used 'are' instead of 'have' at the beginning of a verb phrase (words describing an action, e.g. 'are solved').<li>Please check if 'are' at the beginning of a verb phrase should be changed to 'have' (e.g. 'have solved') in the sentence.</ul>''',1) #
eng_feedback['be_is_has_rbst']['lcc3'] = ('''<strong>VERB FORM ('is' vs. 'has'):{}</strong><br><ul> <li>You may have used 'is' instead of 'has' at the beginning of a verb phrase (words describing an action, e.g. 'is done').<li>Please check if 'is' at the beginning of a verb phrase should be changed to 'has' (e.g. 'has done') in the sentence.</ul>''',1) #
eng_feedback['be_c_are_rbst']['lcc3'] = ('''<strong>AGREEMENT ('are' vs. 'is'): {}</strong><br><ul> <li>This sentence may have the verb 'are', which does not agree with its subject (what the verb describes as doing or being), in person (e.g. 'she are …', 'it are …') and/or number (singular: just one item, e.g. 'The device are …').<li>Please change 'are' to 'is' so the verb agrees with its subject (e.g. 'the device is …') OR change the subject to a plural noun (more than one item, e.g. 'The devices are ...') if necessary.</ul>''',1) #
eng_feedback['be_c_been_rbst']['lcc3'] = ('''<strong>VERB FORM ('been'): {}</strong><br><ul> <li>You may have used the verb 'been' incorrectly, without 'has', 'have', 'having' or 'had' before it, in the sentence.<li>Please change 'been' in the sentence to 'has been', 'have been', 'having been' or 'had been' OR change 'be' to another form of the verb 'be' (such as 'am', 'is', 'are', 'was', or 'were') if necessary.</ul>''',1) #
eng_feedback['be_c_is_rbst']['lcc3'] = ('''<strong>AGREEMENT ('is' vs. 'are'): {}</strong><br><ul> <li>This sentence may have the verb 'is', which does not agree with its subject (what the verb describes as doing or being), in person (e.g. 'I is …', 'you is …') and/or number (plural: more than one item, e.g. 'the devices is …', 'they is …').<li>Please change 'is' in the sentence to 'are' so the verb agrees with its subject (e.g. 'the devices are …') OR change the subject to a singular noun (just one item, e.g. 'a device is …').</ul>''',1) #
eng_feedback['be_np_are_rbst']['lcc3'] = ('''<strong>AGREEMENT ('is' vs. 'are'): {}</strong><br><ul> <li>This sentence may have the verb 'is', which does not agree with its subject (what the verb describes as doing or being), in person (e.g. 'I is …', 'you is …') and/or number (plural: more than one item, e.g. 'the devices is …', 'they is …').<li>Please change 'is' in the sentence to 'are' so the verb agrees with its subject (e.g. 'the devices are …') OR change the subject to a singular noun (just one item, e.g. 'a device is …').</ul>''',0.5) #
eng_feedback['be_np_is_rbst']['lcc3'] = ('''<strong>AGREEMENT ('are' vs. 'is'): {}</strong><br><ul> <li>This sentence may have the verb 'are', which does not agree with its subject (what the verb describes as doing or being), in person (e.g. 'I are …', 'he/she/it are …') and/or number (singular: just one item, e.g. 'a device are …').<li>Please change 'are' in the sentence to 'is' so the verb agrees with its subject (e.g. 'a device is …') OR change the subject to a plural noun (more than one item, e.g. 'the devices are …').</ul>''',0.5) #
eng_feedback['be_th_cop_are_rbst']['lcc3'] = ('''<strong>AGREEMENT ('there are' vs. 'there is'): {}</strong><br><ul> <li>You may have used 'there are' followed by a singular noun (one item of something which can be counted, e.g. 'there are a device …') in this sentence.<li>Please check the sentence, and change 'there are' to 'there is' (e.g. 'there is a device …') OR change the singular noun to a plural noun (e.g. 'there are devices ...').</ul>''',1) #
eng_feedback['be_th_cop_is_rbst']['lcc3'] = ('''<strong>AGREEMENT ('there is' vs. 'there are'): {}</strong><br><ul> <li>You may have used 'there is' followed by a plural noun (more than one item of something which can be counted, e.g. 'there is devices …') in this sentence.<li>Please check the sentence, and change 'there is' to 'there are' (e.g. 'there are devices …') OR change the plural noun to a singular noun (e.g. 'there is a device ...').</ul>''',1) #
eng_feedback['cl-cl_runon-cma_c_rbst']['lcc3'] = ('''<strong>COMMA SPLICE: {}</strong><br><ul> <li>This sentence appears to have a comma separating two independent clauses (parts of a sentence that can stand on their own as sentences) (e.g. 'The machine is faulty, however there are no spare parts.'). <li>Please check the sentence, and consider using a period/full-stop (.), a semi-colon (;) or an appropriate conjunction (e.g. 'and', 'but', 'so') to separate the 2 clauses instead of a comma (e.g. 'The machine is faulty; however, there are no spare parts.').</ul>''',0.5) #
eng_feedback['comm']['lcc3'] = ('''<strong>IMPERATIVES: {}</strong><br><ul> <li>The system has identified this sentence as an instruction/command (e.g. 'Collaborate with xxx'), which is discouraged in formal proposals. However, if you are confident that the 'sentence' is not meant to be a sentence in the first place, you can ignore the alert. For example, the 'sentence' may be part of a list of items and costs. <li>Please change the instruction/command to a statement or description (e.g. 'Collaboration with xxx will ...') if it is actually a command/instruction.</ul>''',0.5) #
eng_feedback['Contraction']['lcc3'] = ('''<strong>CONTRACTION: {}</strong><br><ul> <li>This sentence may contain a contraction of a word or 2 words (e.g. 'it's', 'can't).<li>As contractions are not used in formal documents, please spell out the word/s in full (e.g. 'it is …', 'cannot') if necessary.</ul>''',1) #
eng_feedback['d_-_poss-its-mal_le']['lcc3'] = ('''<strong>POSSESSIVE ('it's' vs. 'its'): {}</strong><br><ul> <li>This sentence appears to have a contraction, 'it's' (meaning: 'it is'), instead of 'its' (meaning: 'belonging to it') in it. <li>Please remove the apostrophe (') if necessary, so 'it's' becomes 'its'.</ul>''',1) #
eng_feedback['d_-_sg-a-mal_le']['lcc3'] = ('''<strong>ARTICLE ('a' vs. 'an'): {}</strong><br><ul> <li>You may have used the wrong indefinite article 'a' instead of 'an' in your sentence (e.g. 'a hour'). If the word after the indefinite article begins with a vowel sound (sounds associated with 'a', 'e', 'i', 'o', and 'u', e.g. 'hour'), you should use 'an' before the word (e.g. 'an hour').<li>Please change the indefinite article from 'a' to 'an' if necessary.</ul>''',1) #
eng_feedback['d_-_sg-an-mal_le']['lcc3'] = ('''<strong>ARTICLE ('an' vs. 'a'): {}</strong><br><ul> <li>You may have used the wrong indefinite article 'an' instead of 'a' in your sentence (e.g. 'an user', 'an one-time case'). If the word after the indefinite article does NOT begin with a vowel sound (sounds associated with 'a', 'e', 'i', 'o', and 'u'), you should use 'a' before the word (e.g. 'a user', 'a one-time case'). Please be careful about words that begin with vowels in their spelling but not in their pronunciation. For example, 'user' begins with a 'u' in its spelling but with a sound similar to 'y' in its pronunciation. <li>Please change the indefinite article from 'an' to 'a' if necessary.</ul>''',1) #
eng_feedback['do1_pos_sg_rbst']['lcc3'] = ('''<strong>AGREEMENT ('do' vs. 'does'): {}</strong><br><ul> <li>This sentence may have the verb 'do' at the beginning of a verb phrase (e.g. 'do make'), which does not agree with its subject (what the verb describes as doing or being), in person (e.g. 'it do make …') and/or number (singular: one item, e.g. 'the device do make …').<li>Please change 'do' at the beginning of a verb phrase to 'does' so the verb agrees with its subject (e.g. 'the device does make …') OR change the subject to a plural noun (more one item, e.g. 'The devices do make ...').</ul>''',1) #
eng_feedback['does1_pos_pl_rbst']['lcc3'] = ('''<strong>AGREEMENT ('does' vs. 'do'): {}</strong><br><ul> <li>This sentence may have the verb 'does' at the beginning of a verb phrase (e.g. 'does make'), which does not agree with its subject (what the verb describes as doing or being), in person (e.g. 'I does make…', 'you does make…') and/or number (plural: more than one item, e.g. 'the devices does make …').<li>Please change 'does' to 'do' so the verb agrees with its subject (e.g. 'the devices do make …') OR change the subject to a singular noun (one item, e.g. 'The device does make ...').</ul>''',1) #
eng_feedback['every_all_rbst']['lcc3'] = ('''<strong>DETERMINER ('every' + plural noun):{}</strong><br><ul> <li>You may have used 'every' (a determiner) before a plural countable noun (more than one item of something that can be counted and has a plural form, e.g. 'every devices') in this sentence.<li>Please change 'every' to 'all'/'all the'/'both'/'both the' (e.g. 'both devices') OR change the plural countable noun (e.g. 'devices') to a singular one (e.g. 'every device') if necessary.</ul>''',1) #
eng_feedback['everyday_adv_rbst']['lcc3'] = ('''<strong>ADVERB ('every day' vs. 'everyday'): {}</strong><br><ul> <li>You have used 'everyday' as an adverb (a word describing an action or event) in your sentence when it is an adjective (a word that describes a thing or entity, e.g. 'The system is checked everyday.').<li>Please add a space between 'every' and 'day' (e.g. 'The system is checked every day.') if necessary.</ul>''',1) #
eng_feedback['Formal']['lcc3'] = ('''<strong>TOO FORMAL: {}</strong><br><ul> <li>This sentence may contain overly formal/archaic words or expressions (such as 'aforementioned') that may make your writing seem stilted or pompous.<li>replace these words and expressions with more commonly used expressions, such as 'previously mentioned', that make your writing more accessible.</ul>''',0.5) #
eng_feedback['hdn_bnp_c_rbst']['lcc3'] = ('''<strong>ARTICLE (missing): {}</strong><br><ul> <li>This sentence has a singular noun (one item of something which can be counted, e.g. 'device') without an article ('a', 'an', 'the'), determiner (e.g. 'each', 'this') or possessive (e.g. 'her', 'its') before it.<li>Please add an article, determiner or possessive before the singular noun (e.g. 'the device') OR change the subject to a plural noun (more than one item, e.g. 'devices') if necessary.</ul>''',1) #
eng_feedback['Informal']['lcc3'] = ('''<strong>INFORMAL: {}</strong><br><ul> <li>This sentence may contain subjective or informal words or expressions (e.g. 'amazing', 'horrible', 'ok').<li> Please replace these words and expressions with more formal and objective alternatives if necessary.</ul>''',0.5) #
eng_feedback['LongSentence']['lcc3'] = ('''<strong>LONG SENTENCE: {}</strong><br><ul> <li>This sentence is much longer than the average sentence. It may be difficult for readers to read the sentence and understand it after reading it once. There is also a higher risk of making grammar mistakes in such a long sentence. <li>Breakup the sentence to make it easier for the reader to follow the text, and to avoid making mistakes.</ul>''',0.5) #
eng_feedback['mal_va_has_le']['lcc3'] = ('''<strong>AGREEMENT ('have' vs. 'has'): {}</strong><br><ul> <li>This sentence may have the verb 'have', which does not agree with its subject (what the verb describes as doing or being), in person (e.g. 'she have …', 'it have …') and/or number (singular: just one item, e.g. 'the device have …').<li>Please change 'have' to 'has' so the verb agrees with its subject (e.g. 'the device has …') OR change the subject to a plural noun (more than one item, e.g. 'The devices have ...').</ul>''',1) #
eng_feedback['mal_va_have_fin_le']['lcc3'] = ('''<strong>AGREEMENT ('has' vs. 'have'): {}</strong><br><ul> <li>This sentence may have the verb 'has', which does not agree with its subject (what the verb describes as doing or being), in person (e.g. 'I has …', 'you has …') and/or number (plural: more than one item, e.g. 'the devices has …').<li>Please change 'has' to 'have' so the verb agrees with its subject (e.g. 'the devices have …') OR change the subject to a singular noun (just one item, e.g. 'The device has ...').</ul>''',1) #
eng_feedback['mal_vc_prd_be_le']['lcc3'] = ('''<strong>VERB FORM ('be'): {}</strong><br><ul> <li>You may have used the verb 'be' incorrectly in the sentence.<li>Please change 'be' to another form (e.g. 'is/are/am', 'was/were', 'being', 'been', 'will/shall be') OR remove the verb 'be' if necessary.</ul>''',1) #
eng_feedback['many_div_mal_adj ']['lcc3'] = ('''<strong>DETERMINER ('many' + uncountable noun): {}</strong><br><ul> <li>You may have used 'many' before an uncountable noun (something that cannot be counted, e.g. 'many information') in this sentence.<li>Please change 'many' to 'a lot of', 'some', 'the', 'this', or 'that'(e.g. 'a lot of information') if necessary.</ul>''',1) #
eng_feedback['many_mal_adj']['lcc3'] = ('''<strong>DETERMINER ('many' + singular noun): {}</strong><br><ul> <li>You may have used 'many' before a singular countable noun (just one item of something which can be counted, e.g. 'many device') in this sentence.<li>Please change the noun to a plural noun (e.g. 'many devices') OR change 'many' to 'a', 'the', 'this', or 'that' if necessary (e.g. 'a device').</ul>''',1) #
eng_feedback['much_a1_rbst']['lcc3'] = ('''<strong>DETERMINER ('much' + plural noun): {}</strong><br><ul> <li>You may have used 'much' before a plural countable noun (more than one item of something which can be counted, e.g. 'much devices') in this sentence.<li>Please change 'much' to 'many' or 'some' if necessary (e.g. 'many devices').</ul>''',1) #
eng_feedback['n_pl_mass_olr_rbst']['lcc3'] = ('''<strong>NOUN (uncountable + plural marker): {}</strong><br><ul> <li>You may have added a plural marker (e.g. '-s') to an uncountable noun (something that cannot be counted and does not have a plural form, e.g. 'many researches').<li>Please remove the plural marker from the uncountable noun (e.g. 'a lot of research').</ul>''',0.5) #
eng_feedback['n_pl-mass_olr_rbst']['lcc3'] = ('''<strong>PLURAL (uncountable): {}</strong><br><ul> <li>This sentence contains an uncountable noun (something that cannot be counted and does not have a plural form, e.g. 'information') with a plural marking (e.g. 'many informations').<li>Please remove its plural marking(e.g. 'a lot of information') if necessary.</ul>''',0.5) #
eng_feedback['non_third_sg_fin_v_rbst']['lcc3'] = ('''<strong>AGREEMENT (plural noun): {}</strong><br><ul> <li>This sentence may have a verb (e.g. 'takes') that requires a singular noun (just one item of something which can be counted, e.g. 'device') as its subject (what the verb describes as doing or being). <li>Please change the verb so it agrees with its subject (e.g. 'The devices cost ...') OR make the subject a singular noun (e.g. 'The device costs ...').</ul>''',1) #
eng_feedback['NoParse']['lcc3'] = ('''<strong>UNKNOWN/TOO MANY ERRORS: {}</strong><br><ul> <li>The system indicates that this sentence may be problematic but cannot specify the error/s. <li>Please read the sentence carefully to check whether there are any errors, and correct them.</ul>''',0.5) #
eng_feedback['num_det_2_rbst']['lcc3'] = ('''<strong>NUMBER (plural): {}</strong><br><ul> <li>You may have used a singular noun (one item of something which can be counted, e.g. 'device') with a number for plural nouns (e.g. 'two device').<li>Please change the singular noun to a plural noun (e.g. 'two devices') OR change the number to one (e.g. 'one device') if necessary.</ul>''',1) #
eng_feedback['num_det_1_rbst']['lcc3'] = ('''<strong>NUMBER (plural): {}</strong><br><ul> <li>You may have used a plural noun (more than one item of something which can be counted, e.g. 'devices') with a number for singular nouns (e.g. 'one devices').<li>Please change the plural noun to a singular noun (e.g. 'one device') OR change the number (e.g. 'two devices', 'three devices', etc.) if necessary.</ul>''',1) #
eng_feedback['only_adv1_mal']['lcc3'] = ('''<strong>ADVERBIAL ('only'):{}</strong><br><ul> <li>'Only' may be in the wrong position in your sentence (e.g. 'The task was completed the day before only'). <li>Please move 'only' to another position in the sentence if necessary (e.g. 'The task was only completed the day before.').</ul>''',0.5) #
eng_feedback['other_rbst']['lcc3'] = ('''<strong>DETERMINER ('other'): {}</strong><br><ul> <li>You may have used 'other' before a singular noun (one item of something which can be counted, e.g. '… used other device') in this sentence.<li>Please replace 'other' with 'another' (e.g. '… used another device') OR change the noun to its plural form (e.g. '… used other devices') if necessary.</ul>''',0.5)
eng_feedback['PronounStyle']['lcc3'] = ('''<strong>PRONOUN (1st or 2nd person): {}</strong><br><ul> <li>This sentence contains a first person singular pronoun (e.g. 'I', 'mine') or a second person pronoun (e.g. 'you', 'yours'). These pronouns are not used in formal technical writing. <li>You may want to remove the first person singular or second person pronouns (e.g. 'You can use the product to …'), and use alternative sentence constructions, such as passive constructions (e.g. 'The product can be used to …'), that avoid the use of such pronouns.</ul>''',1) #
eng_feedback['ques']['lcc3'] = ('''<strong>INTERROGATIVE: {}</strong><br><ul> <li>The system has identified this sentence as a question (e.g. 'How is the product used?'), which is discouraged in formal writing.<li>Read your sentence carefully, and change it if it is actually a question in the main part of your proposal (e.g. 'The product is used in the following manner.'). </ul>''',0.5)
eng_feedback['RepeatedWord']['lcc3'] = ('''<strong>REPETITION: {}</strong><br><ul> <li>You may have repeated a word in this sentence.<li>Please remove one instance of this word if necessary.</ul>''',1) #
eng_feedback['sb-hd_mc-cma_c_rbst']['lcc3'] = ('''<strong>COMMA: {}</strong><br><ul> <li>You may have used a comma just before a verb in the sentence (e.g. 'The device, is needed …').<li>Please remove the comma (e.g. 'The device is needed …') if necessary.</ul>''',0.5) #
eng_feedback['sb-hd_mc-ques_c_rbst']['lcc3'] = ('''<strong>QUESTION MARK: {}</strong><br><ul> <li>You may have used a question mark at the end of a sentence that is not meant to be a question (e.g. 'How this device is used can be easily understood?').<li>Please change the question mark to a period/full stop if necessary (e.g. 'How this device is used can be easily understood.').</ul>''',1) #
eng_feedback['such_a_det_rbst']['lcc3'] = ('''<strong>DETERMINER ('such a'): {}</strong><br><ul> <li>You have used 'such' immediately before a singular noun (one item of something which can be counted, e.g. 'such device') in this sentence when there should be an article, 'a', between them.<li>Please insert 'a' after 'such' (e.g. 'such a device') OR change the singular noun to a plural noun (e.g. 'such devices') if necessary.</ul>''',1) #
eng_feedback['such_an_det_rbst']['lcc3'] = ('''<strong>DETERMINER ('such an'): {}</strong><br><ul> <li>You have used 'such' immediately before a singular noun (one item of something which can be counted, e.g. 'such error') in this sentence when there should be an article, 'an', between them.<li>Please read your sentence carefully, and insert 'an' after 'such' (e.g. 'such an error') OR change the singular noun to a plural noun (e.g. 'such errors') if necessary.</ul>''',1) #
eng_feedback['that_det_rbst']['lcc3'] = ('''<strong>DETERMINER ('that' vs. 'those'): {}</strong><br><ul> <li>You may have used the determiner 'that' instead of 'those' before a plural countable noun (more than one item of something that can be counted and has a plural form, e.g. 'that devices') in your sentence.<li>Please change 'that' to 'those' (e.g. 'those devices') OR change the plural noun to a singular noun (e.g. 'that device').</ul>''',1) #
eng_feedback['the_2_rbst']['lcc3'] = ('''<strong>ARTICLE ('the' + 'a'): {}</strong><br><ul> <li>You may have used 'the' (a definite article) before 'a' (an indefinite article) in front of a noun (a thing or entity, e.g. 'the a device').<li>Please remove either 'the' or 'a' (e.g. 'the device' or 'a device') if necessary.</ul>''',1) #
eng_feedback['the_3_rbst']['lcc3'] = ('''<strong>ARTICLE ('a' + 'the'): {}</strong><br><ul> <li>You may have used 'a' (an indefinite article) before 'the' (a definite article) in front of a noun (a thing or entity, e.g. 'a the device').<li>Please check your sentence for the use of 'a the', and remove either 'a' or 'the' (e.g. 'a device' or 'the device').</ul>''',1) #
eng_feedback['the_4_rbst']['lcc3'] = ('''<strong>ARTICLE/DETERMINER ('the' + 'both'): {}</strong><br><ul> <li>You may have used 'the' (a definite article) before 'both' (a determiner) in front of a noun (a thing or entity, e.g. 'the both devices').<li>Please remove either 'the' or 'both' (e.g. 'the devices' or 'both devices') if necessary.</ul>''',1) #
eng_feedback['the_5_rbst']['lcc3'] = ('''<strong>ARTICLE/DETERMINER ('the' + 'this'): {}</strong><br><ul> <li>You may have used 'the' (a definite article) before 'this' (a determiner) in front of a noun (a thing or entity, e.g., 'the this device').<li>Please remove either 'the' or 'this' (e.g. 'the device' or 'this device') if necessary.</ul>''',1) #
eng_feedback['the_6_rbst']['lcc3'] = ('''<strong>ARTICLE/DETERMINER ('the' + 'these'): {}</strong><br><ul> <li>You may have used 'the' (a definite article) before 'these' (a determiner) in front of a noun (a thing or entity, e.g., 'the these devices').<li>Please remove either 'the' or 'these' (e.g. 'the devices' or 'these devices') if necessary.</ul>''',1) #
eng_feedback['the_7_rbst']['lcc3'] = ('''<strong>ARTICLE/DETERMINER ('the' + 'each'): {}</strong><br><ul> <li>You may have used 'the' (a definite article) before 'each' (a determiner) in front of a noun (a thing or entity, e.g., 'the each device').<li>Please remove either 'the' or 'each' (e.g. 'the device' or 'each device') if necessary.</ul>''',1) #
eng_feedback['the_stutter_1']['lcc3'] = ('''<strong>ARTICLE (repeated, hyphen):{}</strong><br><ul> <li>You may have used 'the-the' (with a hyphen) in this sentence.<li>Please change 'the-the' to 'the' if necessary.</ul>''',1) #
eng_feedback['the_stutter_2']['lcc3'] = ('''<strong>ARTICLE (repeated, comma):{}</strong><br><ul> <li>You may have used 'the, the' (with a comma in between) in this sentence.<li>Please change 'the, the' to 'the' if necessary.</ul>''',1) #
eng_feedback['this_det_rbst']['lcc3'] = ('''<strong>DETERMINER ('this' vs. 'these'): {}</strong><br><ul> <li>You may have used the determiner 'this' instead of 'these' before a plural countable noun (more than one item of something that can be counted and has a plural form, e.g. 'this devices') in your sentence.<li>Please change 'this' to 'these' (e.g. 'these devices') OR change the plural noun to a singular noun (e.g. 'this device').</ul>''',1) #
eng_feedback['afternoon_nospr_n1_rbst']['lcc3'] = ('''<strong>ARTICLE ('the afternoon'): {}</strong><br><ul> <li>You may be using 'afternoon' on its own instead of 'the afternoon' in the sentence.<li>Please add 'the' before 'afternoon' in the sentence if necessary.</ul>''',1) #
eng_feedback['evening_nospr_n1_rbst']['lcc3'] = ('''<strong>ARTICLE ('the evening'): {}</strong><br><ul> <li>You may be using 'evening' on its own instead of 'the evening' in the sentence.<li>Please add 'the' before 'evening' in the sentence if necessary.</ul>''',1) #
eng_feedback['its_be_cop_rbst ']['lcc3'] = ('''<strong>APOSTROPHE ('its' vs. 'it's): {}</strong><br><ul> <li>You may have used 'its' (meaning: belonging to it) instead of 'it's' (meaning: 'it is') in this sentence (e.g. 'Its simple to use').<li>Please change 'its' in the sentence to 'it is' if necessary (e.g. 'It is simple to use'). Contractions such as 'it's' are not used in formal writing.</ul>''',1) #
eng_feedback['its_be_np_rbst ']['lcc3'] = ('''<strong>APOSTROPHE ('its' vs. 'it's): {}</strong><br><ul> <li>You may have used 'its' (meaning: belonging to it) instead of 'it's' (meaning: 'it is') in this sentence (e.g. 'Its a useful device').<li>Please change 'its' in the sentence to 'it is' if necessary (e.g. 'It is a useful device'). Contractions such as 'it's' are not used in formal writing.</ul>''',1) #
eng_feedback['its_poss_2_rbst']['lcc3'] = ('''<strong>DETERMINER ('it's' vs. 'its'): {}</strong><br><ul> <li>You may have used 'it's' (meaning: 'it is') instead of 'its' (meaning: belonging to it) in this sentence (e.g. 'The device relies on it's sensors').<li>Please change 'it's' in the sentence to 'its' if necessary (e.g. 'The device relies on its sensors'). </ul>''',1) #
eng_feedback['its_poss_2_u_rbst']['lcc3'] = ('''<strong>DETERMINER ('it's' vs. 'its'): {}</strong><br><ul> <li>You may have used 'it's' (meaning: 'it is') instead of 'its' (meaning: belonging to it) in this sentence (e.g. 'The device relies on it's sensors').<li>Please change 'it's' in the sentence to 'its' if necessary (e.g. 'The device relies on its sensors'). </ul>''',1) #
eng_feedback['its_poss_rbst']['lcc3'] = ('''<strong>DETERMINER ('it's' vs. 'its'): {}</strong><br><ul> <li>You may have used 'it's' (meaning: 'it is') instead of 'its' (meaning: belonging to it) in this sentence (e.g. 'The device relies on it's sensors').<li>Please change 'it's' in the sentence to 'its' if necessary (e.g. 'The device relies on its sensors'). </ul>''',1) #
eng_feedback['morning_nospr_n1_rbst']['lcc3'] = ('''<strong>ARTICLE ('the morning'): {}</strong><br><ul> <li>You may be using 'morning' on its own instead of 'the morning' in the sentence.<li>Please add 'the' before 'morning' if necessary.</ul>''',1) #
eng_feedback['their_rbst']['lcc3'] = ('''<strong>DETERMINER ('there' vs. 'their'): {}</strong><br><ul> <li>You may have used 'there' instead of 'their' (e.g. 'there homes') in this sentence.<li>Please change 'there' to 'their' (e.g. 'their homes') if necessary.</ul>''',1) #
eng_feedback['third_sg_fin_v_rbst']['lcc3'] = ('''<strong>AGREEMENT (singular noun): {}</strong><br><ul> <li> This sentence may have a verb (e.g. 'costs') that requires a singular noun (just one item of something which can be counted, e.g. 'device') as its subject (what the verb describes as doing or being).<li> Please change the verb so it agrees with its subject (e.g. 'The devices cost ...') OR make the subject a singular noun (e.g. 'The device costs ...').</ul>''',1) #
eng_feedback['too_deg_nc_rbst']['lcc3'] = ('''<strong>ADVERB ('too' vs. 'to'): {}</strong><br><ul> <li>You may have used 'to' instead of 'too' (e.g. 'to difficult') in this sentence.<li>Please change 'to' to 'too' (e.g. 'too difficult') if necessary.</ul>''',0.5) #
eng_feedback['too_deg_rbst']['lcc3'] = ('''<strong>ADVERB ('too' vs. 'to'): {}</strong><br><ul> <li>You have used 'to' more than once in this sentence (e.g. 'the device is to hot to handle') instead of using 'too' in one of these instances (e.g. 'the device is too hot to handle').<li>Please check if 'too' should replace 'to' anywhere in the sentence.</ul>''',0.5) #
eng_feedback['v_pst_olr_rbst']['lcc3'] = ('''<strong>VERB FORM (participle): {}</strong><br><ul> <li>You may have used the wrong form of a verb on its own (e.g. 'shown', 'done') in this sentence (e.g. 'This shown that ...', 'This done by ...')<li>Please change the verb form (e.g. 'This showed that ...', 'This is done by ...'), if necessary.</ul>''',1) #
eng_feedback['VeryLongSentence']['lcc3'] = ('''<strong>V LONG SENTENCE: {}</strong><br><ul> <li>This sentence is much longer than the average sentence. It may be difficult for readers to read the sentence and understand it after reading it once. There is also a higher risk of making grammar mistakes in such a long sentence. <li>You may want to break up the sentence to make it easier for the reader to follow the text.</ul>''',1) #
eng_feedback['w_comma-sdwch_plr_rbst']['lcc3'] = ('''<strong>COMMA (missing space): {}</strong><br><ul> <li>This sentence has a comma without any space after it (e.g. 'The device is cheap,portable and user-friendly.'). <li>Please add a space after the comma (e.g. 'The device is cheap, portable and user-friendly.') if necessary.</ul>''',0.5) #
# eng_feedback['w_hasinitcap_dlr']['lcc3'] = ('''<strong>ARTICLE ('the evening'): {}</strong><br><ul> <li>You may be starting your sentence without a capital letter (e.g. 'the problem is …').<li>Please start the first word with a capital letter if necessary (e.g. 'The problem is …').</ul>''',0.5)
eng_feedback['WordCase']['lcc3'] = ('''<strong>WORD CASE (capitals): {}</strong><br><ul> <li>You may be using lower case (small letters) instead of capital letters (upper case) for a word or words (e.g. 'singapore') in this sentence.<li>Please change the lower case letters to upper case only if you feel it is necessary (e.g. 'Singapore').</ul>''',0.5)