File size: 41,911 Bytes
6fa4bc9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
{
    "paper_id": "2020",
    "header": {
        "generated_with": "S2ORC 1.0.0",
        "date_generated": "2023-01-19T15:01:02.375782Z"
    },
    "title": "Complex Setswana Parts of Speech Tagging",
    "authors": [
        {
            "first": "G",
            "middle": [],
            "last": "Malema",
            "suffix": "",
            "affiliation": {
                "laboratory": "",
                "institution": "University of Botswana",
                "location": {
                    "addrLine": "P/Bag 704",
                    "settlement": "Gaborone",
                    "country": "Botswana"
                }
            },
            "email": "malemag@ub.ac.bw"
        },
        {
            "first": "B",
            "middle": [],
            "last": "Tebalo",
            "suffix": "",
            "affiliation": {
                "laboratory": "",
                "institution": "University of Botswana",
                "location": {
                    "addrLine": "P/Bag 704",
                    "settlement": "Gaborone",
                    "country": "Botswana"
                }
            },
            "email": ""
        },
        {
            "first": "B",
            "middle": [],
            "last": "Okgetheng",
            "suffix": "",
            "affiliation": {
                "laboratory": "",
                "institution": "University of Botswana",
                "location": {
                    "addrLine": "P/Bag 704",
                    "settlement": "Gaborone",
                    "country": "Botswana"
                }
            },
            "email": "bokgetheng@gmail.com"
        },
        {
            "first": "M",
            "middle": [],
            "last": "Motlhanka",
            "suffix": "",
            "affiliation": {
                "laboratory": "",
                "institution": "University of Botswana",
                "location": {
                    "addrLine": "P/Bag 704",
                    "settlement": "Gaborone",
                    "country": "Botswana"
                }
            },
            "email": ""
        },
        {
            "first": "G",
            "middle": [],
            "last": "Rammidi",
            "suffix": "",
            "affiliation": {
                "laboratory": "",
                "institution": "University of Botswana",
                "location": {
                    "addrLine": "P/Bag 704",
                    "settlement": "Gaborone",
                    "country": "Botswana"
                }
            },
            "email": "rammidig@ub.ac.bw"
        }
    ],
    "year": "",
    "venue": null,
    "identifiers": {},
    "abstract": "Setswana language is one of the Bantu languages written disjunctively. Some of its parts of speech such as qualificatives and some adverbs are made up of multiple words. That is, the part of speech is made up of a group of words. The disjunctive style of writing poses a challenge when a sentence is tokenized or when tagging. A few studies have been done on identification of multi-word parts of speech. In this study we go further to tokenize complex parts of speech which are formed by extending basic forms of multi-word parts of speech. The parts of speech are extended by recursively concatenating more parts of speech to a basic form of parts of speech. We developed rules for building complex relative parts of speech. A morphological analyzer and Python NLTK are used to tag individual words and basic forms of multi-word parts of speech respectively. Developed rules are then used to identify complex parts of speech. Results from a 300 sentence text files give a performance of 74%. The tagger fails when it encounters expansion rules not implemented and when tagging by the morphological analyzer is incorrect.",
    "pdf_parse": {
        "paper_id": "2020",
        "_pdf_hash": "",
        "abstract": [
            {
                "text": "Setswana language is one of the Bantu languages written disjunctively. Some of its parts of speech such as qualificatives and some adverbs are made up of multiple words. That is, the part of speech is made up of a group of words. The disjunctive style of writing poses a challenge when a sentence is tokenized or when tagging. A few studies have been done on identification of multi-word parts of speech. In this study we go further to tokenize complex parts of speech which are formed by extending basic forms of multi-word parts of speech. The parts of speech are extended by recursively concatenating more parts of speech to a basic form of parts of speech. We developed rules for building complex relative parts of speech. A morphological analyzer and Python NLTK are used to tag individual words and basic forms of multi-word parts of speech respectively. Developed rules are then used to identify complex parts of speech. Results from a 300 sentence text files give a performance of 74%. The tagger fails when it encounters expansion rules not implemented and when tagging by the morphological analyzer is incorrect.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Abstract",
                "sec_num": null
            }
        ],
        "body_text": [
            {
                "text": "Setswana is a Bantu language spoken by about 4.4 million people in Southern Africa covering Botswana, where it is the national and majority language, Namibia, Zimbabwe and South Africa. The majority of speakers, about 3.6 million, live in South Africa, where the language is officially recognized. Setswana is closely related to Southern and Northern Sotho languages spoken in South Africa. There have been few attempts in the development of Setswana language processing tools such as part of speech tagger, spell checkers, grammar checkers and machine translation.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Introduction",
                "sec_num": "1."
            },
            {
                "text": "Setswana like other languages is faced with ambiguity problems as far as word usage is concerned and this has much impact in part of speech (POS) tagging. Text in the available resource Setswana corpus is not annotated and hence limited meaningful processing can be executed on the data in its current form. Setswana as a low resourced language is limiting corpus research pertaining to much needed significant amount of information about a word and its neighbours, useful in further development of other applications such as information retrieval, collocation and frequency analysis, machine translation and speech synthesis, among other NLP applications. Therefore, there is need to develop basic Setswana processing tools that are accurate and usable to other systems.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Introduction",
                "sec_num": "1."
            },
            {
                "text": "Parts of speech tagging identifies parts of speech for a given language in a sentence. The output of a POS tagger is used for other application such as machine learning, grammar checking and also for language analysis. The complexity of POS tagging varies from language to language. There are different approaches to part of speech tagging, the most prominent being statistical and rule-based approaches (Brants 2000 , Brill 1992 ,1995 and Charniak 1997 . Statistical approaches require test data to learn words formations and order in a language. They work well where adequate training data is readily available. We could not find a readily available tagged corpus to use. We therefore developed a rule based approach. Rule based techniques require the development of rules based on the language structure.",
                "cite_spans": [
                    {
                        "start": 404,
                        "end": 416,
                        "text": "(Brants 2000",
                        "ref_id": null
                    },
                    {
                        "start": 417,
                        "end": 429,
                        "text": ", Brill 1992",
                        "ref_id": "BIBREF1"
                    },
                    {
                        "start": 430,
                        "end": 435,
                        "text": ",1995",
                        "ref_id": "BIBREF1"
                    },
                    {
                        "start": 436,
                        "end": 453,
                        "text": "and Charniak 1997",
                        "ref_id": null
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Introduction",
                "sec_num": "1."
            },
            {
                "text": "Setswana like some Bantu languages is written disjunctively. That is, words that together play a particular function in a sentence are written separately. For the sentence to be properly analysed such words have to be grouped together to give the intended meaning. There are several orthographic words in Setswana such as concords which alone do not have meaning but with other words they give the sentence its intended meaning. Some of these words also play multiple roles in sentences and are frequently used. Such 'words' includes include a, le, ba , se, lo, mo, ga, fa , ka. Without grouping the words, some words could be classified in multiple categories. This problem has been looked at as a tokenization problem in some studies (Faa\u00df et al 2009 , Pretorius et al 2009 and Talajard and Bosch 2006 Setswana parts of speech include verbs, nouns, qualificatives, adverbs and pronouns. Verbs and nouns are open classes and could take several forms. Studies in parts of speech tagging have concentrated on copulative and auxiliary verbs and nouns because of this (Faa\u00df et al 2009 and Pretorius et al 2009) . Most of POS taggers have focused on tagging individual words. However, Setswana has POS in particular qualificatives and some adverbs that are made up of several words and in some cases about a dozen words (Cole 1955 , Mogapi 1998 and Malema et al 2017 .",
                "cite_spans": [
                    {
                        "start": 736,
                        "end": 752,
                        "text": "(Faa\u00df et al 2009",
                        "ref_id": "BIBREF3"
                    },
                    {
                        "start": 753,
                        "end": 775,
                        "text": ", Pretorius et al 2009",
                        "ref_id": "BIBREF10"
                    },
                    {
                        "start": 776,
                        "end": 803,
                        "text": "and Talajard and Bosch 2006",
                        "ref_id": null
                    },
                    {
                        "start": 1065,
                        "end": 1085,
                        "text": "(Faa\u00df et al 2009 and",
                        "ref_id": "BIBREF3"
                    },
                    {
                        "start": 1086,
                        "end": 1107,
                        "text": "Pretorius et al 2009)",
                        "ref_id": "BIBREF10"
                    },
                    {
                        "start": 1316,
                        "end": 1326,
                        "text": "(Cole 1955",
                        "ref_id": "BIBREF2"
                    },
                    {
                        "start": 1327,
                        "end": 1340,
                        "text": ", Mogapi 1998",
                        "ref_id": "BIBREF9"
                    },
                    {
                        "start": 1341,
                        "end": 1362,
                        "text": "and Malema et al 2017",
                        "ref_id": "BIBREF6"
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Introduction",
                "sec_num": "1."
            },
            {
                "text": "Setswana qualificatives include possessives, adjectives, relatives, enumeratives and quantitatives. Adverbs are of time, manner and location. A few studies have been done on tokenization and parts of speech tagging for Setswana and Northern Sotho which is closely related to Setswana (Faa\u00df et al 2009 and Malema et al 2017) . These studies have not covered tokenization of complex parts of speech. Adverbs, possessives and relatives have a recursive structure which allows them to be extended resulting in complex structures containing several POS. Complex in this case, we mean in terms of length and use of multiple POS to build one part of speech. This paper investigates identification of Setswana complex qualificatives and adverbs using part of speech tagger. We present basic rules on how to identify complex POS such as adverbs, possessives and relatives. The proposed method tags single words and then builds complex tags based on developed expansion rules. The rules have been tested for relatives and preliminary results show that most rules are consistent and work most of the time.",
                "cite_spans": [
                    {
                        "start": 284,
                        "end": 304,
                        "text": "(Faa\u00df et al 2009 and",
                        "ref_id": "BIBREF3"
                    },
                    {
                        "start": 305,
                        "end": 323,
                        "text": "Malema et al 2017)",
                        "ref_id": "BIBREF6"
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Introduction",
                "sec_num": "1."
            },
            {
                "text": "As stated above adverbs, possessives and relatives have a recursive structure that allow a simple POS to be extended into a complex POS. We have noted that in Setswana sentence structures, the verb can be followed by noun (object) or an adverb as also stated in the structure of Setswana noun and verb phrases (Letsholo and Matlhaku 2014). We have also noted that nouns could be followed by qualificatives. Thus a simple sentence could be expanded by stating the object the verb is acting on and how, where and when the verb action is performed. The object could be described by using qualificatives and demonstratives. The first sentence does not have an object. In the second sentence an object (koloi/car) is provided for the verb kgweetsa(drive). In the third sentence, the object koloi is distinguished or modified by using the possessive 'ya rraagwe' (his father's). In the fourth sentence an adverb of place (kwa tirong/at work) is added to identify where the action (kgweetsa/drive) of driving is happening.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Setswana Complex POS",
                "sec_num": "2."
            },
            {
                "text": "We have observed that possessives, relatives and adverbs have a recursive structure and therefore could be expanded using other POS to create a complex POS.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Setswana Complex POS",
                "sec_num": "2."
            },
            {
                "text": "Simple possessives are made up a concord followed by a noun, pronoun or demonstrative.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Possessives",
                "sec_num": "2.1"
            },
            {
                "text": "Examples: kgomo ya kgosi (chief's cow) kgomo ya bone (their cow)",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Possessives",
                "sec_num": "2.1"
            },
            {
                "text": "In the first example above \"ya kgosi\" is the possessive, where ya is the possessive concord matching the noun class (class 9) of kgomo(cow) and kgosi(chief) is the root (noun in this case). This is the simplest form of the possessive. However, the root can be expanded to form a complex possessive. The root can be other compound POS such as relatives, possessives, adjectives and adverbs. These compound roots could also be expanded using the sentence expansion rules as explained above. That is, if POS ends with a verb, the verb can be given an object and or an adverb in front of it and if the POS ends with a noun, the noun can be modified with a qualificative and or a demonstrative. The added POS could also be expanded in the same way recursively. ",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Possessives",
                "sec_num": "2.1"
            },
            {
                "text": "Relatives are made up of a concord and a root. Example: koloi e e thudileng (the car that had an accident) e e thudileng is a relative, where e e is a relative concord for class 4 and 9 nouns and thudileng is the root. Using the same approach for expansion of verbs and noun we could expand this relative as follows.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Relatives",
                "sec_num": "2.2"
            },
            {
                "text": "koloi e e thudileng tonki (the car that hit a donkey) koloi e e thudielng tonki ya kgosi (the car that hit the chief's donkey) koloi e e thudileng tonki ya kgosi kwa morakeng (the car that hit the chief's car at the cattle post)",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Relatives",
                "sec_num": "2.2"
            },
            {
                "text": "In the third example \"e e thudileng tonki ya kgosi kwa morakeng\" is a relative made up of a basic relative (e e thudileng), noun (tonki), possessive (ya kgosi) and adverb (kwa morakeng). The structure of examples above is referred to as direct relatives. Another category of relatives is known as indirect. Examples:",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Relatives",
                "sec_num": "2.2"
            },
            {
                "text": "koloi e ba e ratang (the car they like) koloi e a tla e rekang (the car she/he will buy) ngwana yo Modimo a mo segofaditseng ( the child that God blessed) koloi In this study we only looked at direct relatives which have a simpler structure compared to indirect relatives. Basic structures of Setswana qualificatives and adverbs could be found in (Cole 1955 and Mogapi 1998) .",
                "cite_spans": [
                    {
                        "start": 347,
                        "end": 361,
                        "text": "(Cole 1955 and",
                        "ref_id": "BIBREF2"
                    },
                    {
                        "start": 362,
                        "end": 374,
                        "text": "Mogapi 1998)",
                        "ref_id": "BIBREF9"
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Relatives",
                "sec_num": "2.2"
            },
            {
                "text": "Adverbs could also be expanded when they use verbs and nouns. Examples: kwa morakeng (at the cattle post) kwa morakeng wa monna (at the man's cattle post) kwa morakeng wa monna yo o berekang (at the cattle post of the man who is working) kwa morakeng wa monna yo o berekang kwa sepateleng (at the cattle post of the man who is working at the hospital) kwa morakeng wa monna yo o berekang kwa sepateleng sa Gaborone (at the cattle post of the man who is working at Gaborone hospital)",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Adverbs",
                "sec_num": "2.3"
            },
            {
                "text": "The last example is an adverb made up of a basic adverb (kwa morakeng), possessive (wa monna), relative (yo o berekang), adverb (kwa sepateleng), possessive (sa Gaborone)",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Adverbs",
                "sec_num": "2.3"
            },
            {
                "text": "Figure 1 below shows a block diagram of the proposed tagger. Individual words are first tagged using morphological and noun analyzers developed in Malema et al (2016 and 2018) . Simple compound POS are then tagged using regular expression (RE) Python library from Python NLTK. Regular expressions for simple compound POS are used here. We developed regular expressions for adjectives, enumeratives and for basic forms of possessives, relatives and adverbs. In Malema (2017) a finite state approach was used to tag basic multi-word POS.",
                "cite_spans": [
                    {
                        "start": 147,
                        "end": 169,
                        "text": "Malema et al (2016 and",
                        "ref_id": "BIBREF7"
                    },
                    {
                        "start": 170,
                        "end": 175,
                        "text": "2018)",
                        "ref_id": "BIBREF8"
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Implementation",
                "sec_num": "3."
            },
            {
                "text": "In this study we used the Python NLTK regular expression library because it is faster and much easier to use. After identifying compound POS in a sentence, expansion rules are applied to each compound POS for possible expansion. These rules basically test whether the next word(s) could be part of the current POS. ",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Implementation",
                "sec_num": "3."
            },
            {
                "text": "The proposed parts of speech tagger focused on complex direct relatives ending with a verb. The prototype tagger was given a 300 sentence text file from the Botswana Daily News (2019) and Mmegi (2019). The text file contains 123 relatives, 37 of which are of the basic form and the rest are more complex. The proposed tagger identified all the 123 basic relatives and successfully extended 64 of the complex relatives resulting with a success rate of 74%. The two main factors that lead to the failure of the tagger are:",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Performance Results",
                "sec_num": "4."
            },
            {
                "text": "We noted that there are other forms that we have not included in this structure. For example, we noted that there are forms in which the verb is followed by 'ke' and 'le' which are not in our rules. Examples: yo o salang le ngwana ( the one who is baby sitting) yo o rutwang ke mmaagwe (the one taught by his/her mother) Failure of basic word tagging: In some cases the morphological analyzer failed to tag verbs, nouns and adverbs(single word) properly which affected the regular expression tagger and the expansion rule application. Also in some cases nouns were not put in their correct classes. The concord(s) of a qualificative modifying a particular noun has to match with its noun class.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Unexhausted Relative forms:",
                "sec_num": null
            },
            {
                "text": "In this paper we presented a rule based approach to identifying Setswana complex parts of speech. The idea is to implement the recursive structure of complex parts of Output speech. The recursive structure is expressed in the form of rules which are based on simple verb and noun phrase structures. A prototype tagger was developed with the help of Python NLTK regular expressions. Preliminary results show that the proposed technique works well. However, for it to be effective, all the rules and structures of complex POS must be documented. In this study we did not exhaust all relative structures. We plan to develop the idea further by developing more rules and include other parts of speech.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Conclusions",
                "sec_num": "5."
            }
        ],
        "back_matter": [],
        "bib_entries": {
            "BIBREF0": {
                "ref_id": "b0",
                "title": "A statistical part of speech tagger. PANCL'00 Proceedings of the sixth conference on applied natural language processing",
                "authors": [
                    {
                        "first": "",
                        "middle": [],
                        "last": "Botswana Daily News",
                        "suffix": ""
                    }
                ],
                "year": 2000,
                "venue": "",
                "volume": "",
                "issue": "",
                "pages": "",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "Botswana Daily News (online), www.dailynews.gov.bw Brants T (2000). A statistical part of speech tagger. PANCL'00 Proceedings of the sixth conference on applied natural language processing Association for Computational Linguistics",
                "links": null
            },
            "BIBREF1": {
                "ref_id": "b1",
                "title": "Transformation Based Error-Driven Learning and Natural language Processing: A case study in Part of Speech Tagging",
                "authors": [
                    {
                        "first": "E",
                        "middle": [],
                        "last": "Brill",
                        "suffix": ""
                    }
                ],
                "year": 1992,
                "venue": "Proceedings of the third conference on Applied Natural Language processing",
                "volume": "18",
                "issue": "",
                "pages": "33--44",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "Brill E (1992). A simple rule based part of speech tagger. In Proceedings of the third conference on Applied Natural Language processing, ACL, Trento, Italy Brill E (1995). Transformation Based Error-Driven Learning and Natural language Processing: A case study in Part of Speech Tagging. Computational Linguistics Charniak E (1997).Statistical techniques for Natural Language parsin. AI Magazine, 18(4), pp.33-44",
                "links": null
            },
            "BIBREF2": {
                "ref_id": "b2",
                "title": "An Introduction to Tswana grammar. Longmans and Green",
                "authors": [
                    {
                        "first": "D",
                        "middle": [
                            "T"
                        ],
                        "last": "Cole",
                        "suffix": ""
                    }
                ],
                "year": 1955,
                "venue": "",
                "volume": "",
                "issue": "",
                "pages": "",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "Cole, D.T. (1955). An Introduction to Tswana grammar. Longmans and Green, Cape Town.",
                "links": null
            },
            "BIBREF3": {
                "ref_id": "b3",
                "title": "Part-of_Speech tagging of Northern Sotho: Disambiguating polysemous function words",
                "authors": [
                    {
                        "first": "G",
                        "middle": [],
                        "last": "Faa\u00df",
                        "suffix": ""
                    },
                    {
                        "first": "U",
                        "middle": [],
                        "last": "Heid",
                        "suffix": ""
                    },
                    {
                        "first": "E",
                        "middle": [],
                        "last": "Taljard",
                        "suffix": ""
                    },
                    {
                        "first": "D",
                        "middle": [],
                        "last": "Prinsloo",
                        "suffix": ""
                    }
                ],
                "year": 2009,
                "venue": "Workshop on Language Technologies for African Languages -Aflat",
                "volume": "",
                "issue": "",
                "pages": "38--45",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "Faa\u00df G, Heid U, Taljard E & Prinsloo D (2009). Part- of_Speech tagging of Northern Sotho: Disambiguating polysemous function words\",Proceedings of the EACL, 2009 Workshop on Language Technologies for African Languages -Aflat 2009, pages 38-45, Athens Greece, 31 March 2009",
                "links": null
            },
            "BIBREF4": {
                "ref_id": "b4",
                "title": "Introduction to the Grammar of Northern Sotho",
                "authors": [
                    {
                        "first": "D",
                        "middle": [],
                        "last": "Lombard",
                        "suffix": ""
                    }
                ],
                "year": 1985,
                "venue": "J.L. van Schaik",
                "volume": "",
                "issue": "",
                "pages": "",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "Lombard, D.P (1985). Introduction to the Grammar of Northern Sotho. J.L. van Schaik, Pretoria, South Africa, 1985.",
                "links": null
            },
            "BIBREF5": {
                "ref_id": "b5",
                "title": "Aspects of the Northern Sotho Grammar. Via Afrika",
                "authors": [
                    {
                        "first": "L",
                        "middle": [
                            "J"
                        ],
                        "last": "Louwrens",
                        "suffix": ""
                    }
                ],
                "year": 1991,
                "venue": "",
                "volume": "",
                "issue": "",
                "pages": "",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "Louwrens, L. J.(1991). Aspects of the Northern Sotho Grammar. Via Afrika, Pretoria, South Africa. Mmegi Publishing News paper (online: www.mmegi.co.bw",
                "links": null
            },
            "BIBREF6": {
                "ref_id": "b6",
                "title": "Setswana Part of Speech Tagging",
                "authors": [
                    {
                        "first": "G",
                        "middle": [],
                        "last": "Malema",
                        "suffix": ""
                    },
                    {
                        "first": "",
                        "middle": [],
                        "last": "Okgetheng",
                        "suffix": ""
                    },
                    {
                        "first": "M",
                        "middle": [],
                        "last": "Motlhanka",
                        "suffix": ""
                    }
                ],
                "year": 2017,
                "venue": "International Journal of Natural Language Computing (IJNLC)",
                "volume": "6",
                "issue": "6",
                "pages": "15--20",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "Malema, G, Okgetheng, B and Motlhanka, M. (2017) Setswana Part of Speech Tagging, International Journal of Natural Language Computing (IJNLC), Vol.6, No.6, pp. 15 -20, December 2017",
                "links": null
            },
            "BIBREF7": {
                "ref_id": "b7",
                "title": "Setswana Verb Analyzer and Generator",
                "authors": [
                    {
                        "first": "G",
                        "middle": [],
                        "last": "Malema",
                        "suffix": ""
                    },
                    {
                        "first": "N",
                        "middle": [],
                        "last": "Motlogelwa",
                        "suffix": ""
                    },
                    {
                        "first": "B",
                        "middle": [],
                        "last": "Okgetheng",
                        "suffix": ""
                    },
                    {
                        "first": "O",
                        "middle": [],
                        "last": "Mogotlhwane",
                        "suffix": ""
                    }
                ],
                "year": 2016,
                "venue": "International Journal of Computational Linguistics (IJCL)",
                "volume": "7",
                "issue": "1",
                "pages": "",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "Malema, G. Motlogelwa, N. Okgetheng, B. Mogotlhwane O. (2016). Setswana Verb Analyzer and Generator. International Journal of Computational Linguistics (IJCL), Vol 7, issue 1, 2016.",
                "links": null
            },
            "BIBREF8": {
                "ref_id": "b8",
                "title": "Setswana Noun Analyzer and Generator",
                "authors": [
                    {
                        "first": "G",
                        "middle": [],
                        "last": "Malema",
                        "suffix": ""
                    },
                    {
                        "first": "M",
                        "middle": [],
                        "last": "Motlhanka",
                        "suffix": ""
                    },
                    {
                        "first": "",
                        "middle": [],
                        "last": "Okgetheng",
                        "suffix": ""
                    },
                    {
                        "first": "N",
                        "middle": [],
                        "last": "Motlogelwa",
                        "suffix": ""
                    }
                ],
                "year": 2018,
                "venue": "International Journal of Computational Linguistics (IJCL)",
                "volume": "",
                "issue": "9",
                "pages": "32--40",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "Malema, G. Motlhanka, M. Okgetheng, O and Motlogelwa, N. (2018). Setswana Noun Analyzer and Generator. International Journal of Computational Linguistics (IJCL), Volume (9), Issue (2) pp 32-40, 2018",
                "links": null
            },
            "BIBREF9": {
                "ref_id": "b9",
                "title": "Thuto Puo ya Setswana",
                "authors": [
                    {
                        "first": "K",
                        "middle": [],
                        "last": "Mogapi",
                        "suffix": ""
                    }
                ],
                "year": 1998,
                "venue": "",
                "volume": "184",
                "issue": "",
                "pages": "582--61903",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "Mogapi, K.(1998). Thuto Puo ya Setswana, Longman Botswana, 184, ISBN:0582 61903 3.",
                "links": null
            },
            "BIBREF10": {
                "ref_id": "b10",
                "title": "A finite state approach to Setswana verb morphology",
                "authors": [
                    {
                        "first": "L",
                        "middle": [],
                        "last": "Pretorius",
                        "suffix": ""
                    },
                    {
                        "first": "B",
                        "middle": [],
                        "last": "Viljoen",
                        "suffix": ""
                    },
                    {
                        "first": "Pretorius",
                        "middle": [
                            "R"
                        ],
                        "last": "Berg",
                        "suffix": ""
                    },
                    {
                        "first": "A",
                        "middle": [],
                        "last": "",
                        "suffix": ""
                    }
                ],
                "year": 2009,
                "venue": "International Workshop on finite state methods and natural Language Processing FSMNLP 2009: Finite State Methods and Natural language Processing",
                "volume": "",
                "issue": "",
                "pages": "131--138",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "Pretorius L, Viljoen B, Pretorius R and Berg A.(2009). A finite state approach to Setswana verb morphology, International Workshop on finite state methods and natural Language Processing FSMNLP 2009: Finite State Methods and Natural language Processing, pp. 131 -138",
                "links": null
            },
            "BIBREF11": {
                "ref_id": "b11",
                "title": "A comparison of approaches towards word class tagging: Disjunctively versus conjunctively written Bantu languages",
                "authors": [
                    {
                        "first": "E",
                        "middle": [],
                        "last": "Taljard",
                        "suffix": ""
                    },
                    {
                        "first": "S",
                        "middle": [
                            "E"
                        ],
                        "last": "Bosch",
                        "suffix": ""
                    }
                ],
                "year": 2006,
                "venue": "Nordic Journal of African Studies",
                "volume": "15",
                "issue": "4",
                "pages": "428--442",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "Taljard, E. & Bosch, S. E. (2006). A comparison of approaches towards word class tagging: Disjunctively versus conjunctively written Bantu languages. Nordic Journal of African Studies, 15(4), 428-442.",
                "links": null
            }
        },
        "ref_entries": {
            "FIGREF0": {
                "uris": null,
                "text": "Block diagram of POS tagger",
                "num": null,
                "type_str": "figure"
            },
            "TABREF2": {
                "type_str": "table",
                "html": null,
                "text": "Where N is noun, T is a qualificative, P is a pronoun, D is a demonstrative, Q is a quantitative and L is an adverb.",
                "content": "<table><tr><td>The rule extensions</td></tr><tr><td>developed are adding a noun, pronoun, qualificative,</td></tr><tr><td>demonstrative or an adverb.</td></tr><tr><td>Examples:</td></tr><tr><td>ngwana yo o ratang (a child who likes \u2026)</td></tr><tr><td>ngwana yo o ratang go lela (a child who likes crying)</td></tr><tr><td>ngwana yo o ratang dijo (a child who likes food)</td></tr><tr><td>ngwana yo o ratang dijo tse di sukiri (a child who likes</td></tr><tr><td>sweet food)</td></tr><tr><td>ngwana yo o ratang dijo tsele (a child who likes that</td></tr><tr><td>food)</td></tr><tr><td>And so forth.</td></tr><tr><td>As the examples show we focused on the basic structure of</td></tr><tr><td>direct relatives which is Relative concord + Verb-ng. This</td></tr><tr><td>structure could be extended in a variety of ways</td></tr><tr><td>Concord + Verb-ng + N</td></tr><tr><td>Concord + verb-ng + T</td></tr><tr><td>Concord + verb-ng + P</td></tr><tr><td>Concord + verb-ng + D</td></tr><tr><td>Concord + verb-ng + Q</td></tr><tr><td>Concord + verb-ng + L</td></tr></table>",
                "num": null
            }
        }
    }
}