{"id":{"repo_id":"pretoria","oai_identifier":"oai:repository.up.ac.za:2263/27725"},"canonical_url":"https://search.ndltd.org/etd/pretoria/oai:repository.up.ac.za:2263/27725","repository":{"repo_id":"pretoria","name":"University of Pretoria","base_url":"https://repository.up.ac.za/server/oai/request"},"display":{"title":"Text-based language identification for the South African languages","abstract":"We investigate the factors that determine the performance of text-based language identification, with a particular focus on the 11 official languages of South Africa. Our study uses n-gram statistics as features for classification. In particular, we compare support vector machines, Naïve Bayesian and difference-in-frequency classifiers on different amounts of input text and various values of n, for different amounts of training data. For a fixed value of n the support vector machines generally outperforms the other classifiers, but the simpler classifiers are able to handle larger values of n. The additional computational complexity of training the support vector machine classifier may not be justified in light of importance of using a large value of n, except possibly for small sizes of the input window when limited training data is available. We find that it is more difficult to discriminate languages within language families then those across families. The accuracy on small input strings is low due to this reason, but for input strings of 100 characters or more there is only a slight confusion within families and accuracies as high as 99.4% are achieved. For the smallest input strings studied here, which consist of 15 characters, the best accuracy achieved is only 83%, but when the languages in different families are grouped together, this corresponds to a usable 95.1% accuracy. The relationship between the amount of training data and the accuracy achieved is found to depend on the window size – for the largest window (300 characters) about 400 000 characters are sufficient to achieve close-to-optimal accuracy, whereas improvements in accuracy are found even beyond 1.6 million characters of training data. Finally, we show that the confusions between the different languages in our set can be used to derive informative graphical representations of the relationships between the languages.","abstract_html":"We investigate the factors that determine the performance of text-based language identification, with a particular focus on the 11 official languages of South Africa. Our study uses n-gram statistics as features for classification. In particular, we compare support vector machines, Naïve Bayesian and difference-in-frequency classifiers on different amounts of input text and various values of n, for different amounts of training data. For a fixed value of n the support vector machines generally outperforms the other classifiers, but the simpler classifiers are able to handle larger values of n. The additional computational complexity of training the support vector machine classifier may not be justified in light of importance of using a large value of n, except possibly for small sizes of the input window when limited training data is available. We find that it is more difficult to discriminate languages within language families then those across families. The accuracy on small input strings is low due to this reason, but for input strings of 100 characters or more there is only a slight confusion within families and accuracies as high as 99.4% are achieved. For the smallest input strings studied here, which consist of 15 characters, the best accuracy achieved is only 83%, but when the languages in different families are grouped together, this corresponds to a usable 95.1% accuracy. The relationship between the amount of training data and the accuracy achieved is found to depend on the window size – for the largest window (300 characters) about 400 000 characters are sufficient to achieve close-to-optimal accuracy, whereas improvements in accuracy are found even beyond 1.6 million characters of training data. Finally, we show that the confusions between the different languages in our set can be used to derive informative graphical representations of the relationships between the languages.","abstract_has_math":false,"creators":[],"institution":"University of Pretoria","degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":"Electrical, Electronic and Computer Engineering","school":null,"contributors":[],"advisors":["Barnard, E."],"committee_chairs":[],"committee_members":[],"year":2008,"date_issued":"2008-09-09","date_published":"2008-09-09","updated_at":"2026-12-01T14:18:41Z","subjects":["Naïve bayesian classification","Support vector machine","N-gram statistics","Text-based language identification","Difference-in-frequency classification","UCTD"],"languages":[],"rights":["unrestricted","© University of Pretoria 2008 E1086/"],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["a 2008"],"render_values":[{"text":"a 2008","href":null,"code":true}]},{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["E1086/gm"],"render_values":[{"text":"E1086/gm","href":null,"code":true}]},{"key":"dc:identifier.sourceurl","label":"Source URL","values":["http://upetd.up.ac.za/thesis/available/etd-09042008-133715/"],"render_values":[{"text":"http://upetd.up.ac.za/thesis/available/etd-09042008-133715/","href":"http://upetd.up.ac.za/thesis/available/etd-09042008-133715/","code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/2263/27725","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/2263/27725","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Apretoria%3Aoai%3Arepository.up.ac.za%3A2263%2F27725","prefix":"oai_dc"},"source_record":{"url":"https://repository.up.ac.za/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Arepository.up.ac.za%3A2263%2F27725","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Barnard, E."]},{"key":"dc:contributor.department","label":"Department","values":["Electrical, Electronic and Computer Engineering"]},{"key":"dc:contributor.other","label":"Dc Contributor Other","values":["Botha, Gerrit Reinier"]},{"key":"person:email","label":"Person Email","values":["gerrit.botha@gmail.com"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2013-09-07T12:10:12Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2008-09-09","2013-09-07T12:10:12Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2008-04-09"]},{"key":"dc:date.issued","label":"Date","values":["2008-09-09"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["2008-09-04"]},{"key":"dc:publisher","label":"Institution","values":["University of Pretoria"]},{"key":"dc:type","label":"Dc Type","values":["Dissertation"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Naïve bayesian classification","Support vector machine","N-gram statistics","Text-based language identification","Difference-in-frequency classification","UCTD"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:rights","label":"Dc Rights","values":["© University of Pretoria 2008 E1086/"]},{"key":"dc:rights.accessrights","label":"Access Rights","values":["unrestricted"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["a 2008"]},{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["E1086/gm"]},{"key":"dc:identifier.sourceurl","label":"Source URL","values":["http://upetd.up.ac.za/thesis/available/etd-09042008-133715/"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["http://hdl.handle.net/2263/27725"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["Dissertation (MEng)--University of Pretoria, 2008."]},{"key":"dc:description.abstract","label":"Abstract","values":["We investigate the factors that determine the performance of text-based language identification, with a particular focus on the 11 official languages of South Africa. Our study uses n-gram statistics as features for classification. In particular, we compare support vector machines, Naïve Bayesian and difference-in-frequency classifiers on different amounts of input text and various values of n, for different amounts of training data. For a fixed value of n the support vector machines generally outperforms the other classifiers, but the simpler classifiers are able to handle larger values of n. The additional computational complexity of training the support vector machine classifier may not be justified in light of importance of using a large value of n, except possibly for small sizes of the input window when limited training data is available. We find that it is more difficult to discriminate languages within language families then those across families. The accuracy on small input strings is low due to this reason, but for input strings of 100 characters or more there is only a slight confusion within families and accuracies as high as 99.4% are achieved. For the smallest input strings studied here, which consist of 15 characters, the best accuracy achieved is only 83%, but when the languages in different families are grouped together, this corresponds to a usable 95.1% accuracy. The relationship between the amount of training data and the accuracy achieved is found to depend on the window size – for the largest window (300 characters) about 400 000 characters are sufficient to achieve close-to-optimal accuracy, whereas improvements in accuracy are found even beyond 1.6 million characters of training data. Finally, we show that the confusions between the different languages in our set can be used to derive informative graphical representations of the relationships between the languages."]},{"key":"dc:title","label":"Title","values":["Text-based language identification for the South African languages"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Barnard, E."],"dc:contributor.department":["Electrical, Electronic and Computer Engineering"],"dc:contributor.other":["Botha, Gerrit Reinier"],"dc:date.accessioned":["2013-09-07T12:10:12Z"],"dc:date.available":["2008-09-09","2013-09-07T12:10:12Z"],"dc:date.created":["2008-04-09"],"dc:date.issued":["2008-09-09"],"dc:date.submitted":["2008-09-04"],"dc:description":["Dissertation (MEng)--University of Pretoria, 2008."],"dc:description.abstract":["We investigate the factors that determine the performance of text-based language identification, with a particular focus on the 11 official languages of South Africa. Our study uses n-gram statistics as features for classification. In particular, we compare support vector machines, Naïve Bayesian and difference-in-frequency classifiers on different amounts of input text and various values of n, for different amounts of training data. For a fixed value of n the support vector machines generally outperforms the other classifiers, but the simpler classifiers are able to handle larger values of n. The additional computational complexity of training the support vector machine classifier may not be justified in light of importance of using a large value of n, except possibly for small sizes of the input window when limited training data is available. We find that it is more difficult to discriminate languages within language families then those across families. The accuracy on small input strings is low due to this reason, but for input strings of 100 characters or more there is only a slight confusion within families and accuracies as high as 99.4% are achieved. For the smallest input strings studied here, which consist of 15 characters, the best accuracy achieved is only 83%, but when the languages in different families are grouped together, this corresponds to a usable 95.1% accuracy. The relationship between the amount of training data and the accuracy achieved is found to depend on the window size – for the largest window (300 characters) about 400 000 characters are sufficient to achieve close-to-optimal accuracy, whereas improvements in accuracy are found even beyond 1.6 million characters of training data. Finally, we show that the confusions between the different languages in our set can be used to derive informative graphical representations of the relationships between the languages."],"dc:identifier.citation":["a 2008"],"dc:identifier.other":["E1086/gm"],"dc:identifier.sourceurl":["http://upetd.up.ac.za/thesis/available/etd-09042008-133715/"],"dc:identifier.uri":["http://hdl.handle.net/2263/27725"],"dc:publisher":["University of Pretoria"],"dc:rights":["© University of Pretoria 2008 E1086/"],"dc:rights.accessrights":["unrestricted"],"dc:subject":["Naïve bayesian classification","Support vector machine","N-gram statistics","Text-based language identification","Difference-in-frequency classification","UCTD"],"dc:title":["Text-based language identification for the South African languages"],"dc:type":["Dissertation"],"others:access_status":["open.access"],"person:email":["gerrit.botha@gmail.com"]},"updated_at":"2026-12-01T14:18:41Z"}