Lawrence Muchemi
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
Lawrence Muchemi has a total of 17 co-authors. Here are the top co-authors by number of shared publications:
- Barack Wamkaya Wanjawa
Dept. of Computer Science, University of Nairobi
3 shared publications - Edward Ombui
Dept. of Computer Science, Africa Nazarene University
3 shared publications - Barack Wamkaya Wanjawa
School of Computing and Informatics School of Computing and Informatics School of Computing and Informatics University of Nairobi University of Nairobi University of Nairobi Box 30197 00100 Nairobi Kenya
2 shared publications - Florence Indede
Dept. of Kiswahili and Other African Languages, Maseno University
2 shared publications - Lilian Wanzare
Maseno University
2 shared publications - Owen Mconyango
Maseno University, Kenya
2 shared publications
Latest Publications
- Open Access
- 3 August 2025
- Published by Center for Open Access in Science in Open Journal for Information Technology
- Vol. 8 (1) , 9-20
A Model for Drug Discovery on Unstructured Text using Semi-Supervised Learning and Fuzzy Matching
Health related discoveries are mainly published as journal publications and the rate at which they are generated increases as new information and discoveries emerge. Discovery of latent medically-related terms in a document corpus is a challenging task where the researcher is not an expert in that domain and a viable database of medicine related words is not readily available. The objective of the study was to investigate the methodologies and best practices that enable discovery of latent drug terms found in health publications corpus for effective dissemination at county and national levels. Fuzzy matching methodology was considered for its near and exact matching algorithms. DrugBank dataset was chosen as reference for drug terms because of its comprehensive list of drugs, that are frequently updated and freely accessible. Semi-supervised learning was applied in modeling of multi-search medical terms on an hourly basis. Drug-name recognition, sentence categorization and information retrieval are among the features described in the presented model.
- 3 August 2025
- Published by Center for Open Access in Science in Open Journal for Information Technology
- Vol. 8 (1) , 9-20
Open AccessA Model for Drug Discovery on Unstructured Text using Semi-Supervised Learning and Fuzzy Matching
Health related discoveries are mainly published as journal publications and the rate at which they are generated increases as new information and discoveries emerge. Discovery of latent medically-related terms in a document corpus is a challenging task where the researcher is not an expert in that domain and a viable database of medicine related words is not readily available. The objective of the study was to investigate the methodologies and best practices that enable discovery of latent drug terms found in health publications corpus for effective dissemination at county and national levels. Fuzzy matching methodology was considered for its near and exact matching algorithms. DrugBank dataset was chosen as reference for drug terms because of its comprehensive list of drugs, that are frequently updated and freely accessible. Semi-supervised learning was applied in modeling of multi-search medical terms on an hourly basis. Drug-name recognition, sentence categorization and information retrieval are among the features described in the presented model.
- Open Access
Algorithm for Semantic Network Generation from Texts of Low Resource Languages Such as Kiswahili
Processing low-resource languages, such as Kiswahili, using machine learning is difficult due to lack of adequate training data. However, such low-resource languages are still important for human communication and are already in daily use and users need practical machine processing tasks such as summarization, disambiguation and even question answering (QA). One method of processing such languages, while bypassing the need for training data, is the use semantic networks. Some low resource languages, such as Kiswahili, are of the subject-verb-object (SVO) structure, and similarly semantic networks are a triple of subject-predicate-object, hence SVO parts of speech tags can map into a semantic network triple. An algorithm to process raw natural language text and map it into a semantic network is therefore necessary and desirable in structuring low resource languages texts. This algorithm tested on the Kiswahili QA task with upto 78.6% exact match.
Open AccessAlgorithm for Semantic Network Generation from Texts of Low Resource Languages Such as Kiswahili
Processing low-resource languages, such as Kiswahili, using machine learning is difficult due to lack of adequate training data. However, such low-resource languages are still important for human communication and are already in daily use and users need practical machine processing tasks such as summarization, disambiguation and even question answering (QA). One method of processing such languages, while bypassing the need for training data, is the use semantic networks. Some low resource languages, such as Kiswahili, are of the subject-verb-object (SVO) structure, and similarly semantic networks are a triple of subject-predicate-object, hence SVO parts of speech tags can map into a semantic network triple. An algorithm to process raw natural language text and map it into a semantic network is therefore necessary and desirable in structuring low resource languages texts. This algorithm tested on the Kiswahili QA task with upto 78.6% exact match.
- Open Access
- 12 December 2024
- Published by Center for Open Access in Science in Open Journal for Information Technology
- Vol. 7 (2) , 55-70
Algorithm for Semantic Network Generation from Texts of Low Resource Languages Such as Kiswahil
Processing low-resource languages, such as Kiswahili, using machine learning is difficult due to lack of adequate training data. However, such low-resource languages are still important for human communication and are already in daily use and users need practical machine processing tasks such as summarization, disambiguation and even question answering (QA). One method of processing such languages, while bypassing the need for training data, is the use semantic networks. Some low resource languages, such as Kiswahili, are of the subject-verb-object (SVO) structure, and similarly semantic networks are a triple of subject-predicate-object, hence SVO parts of speech tags can map into a semantic network triple. An algorithm to process raw natural language text and map it into a semantic network is therefore necessary and desirable in structuring low resource languages texts. This algorithm tested on the Kiswahili QA task with up to 78.6% exact match.
- 12 December 2024
- Published by Center for Open Access in Science in Open Journal for Information Technology
- Vol. 7 (2) , 55-70
Open AccessAlgorithm for Semantic Network Generation from Texts of Low Resource Languages Such as Kiswahil
Processing low-resource languages, such as Kiswahili, using machine learning is difficult due to lack of adequate training data. However, such low-resource languages are still important for human communication and are already in daily use and users need practical machine processing tasks such as summarization, disambiguation and even question answering (QA). One method of processing such languages, while bypassing the need for training data, is the use semantic networks. Some low resource languages, such as Kiswahili, are of the subject-verb-object (SVO) structure, and similarly semantic networks are a triple of subject-predicate-object, hence SVO parts of speech tags can map into a semantic network triple. An algorithm to process raw natural language text and map it into a semantic network is therefore necessary and desirable in structuring low resource languages texts. This algorithm tested on the Kiswahili QA task with up to 78.6% exact match.
- Open Access
- 25 April 2024
- Published by Academic Conferences and Publishing International Ltd in Electronic Journal of e-Learning
- Vol. 22 (5) , 103-116
Learning Analytics Intervention Using Prompts and Feedback for Measurement of e-Learners’ Socially-Shared Regulated Learning
The future of university learning in Sub-Saharan Africa has become increasingly digitally transformed by both e-Learning, and learning analytics, post-COVID-19 pandemic. Learning analytics intervention is critical for effective support of socially-shared regulated learning skills, which are crucial for twenty-first-century e-Learners. Socially-shared regulation is the major determinant of successful collaborative e-learning. However, most e-learners lack such skills thereby facing socio-cognitive challenges, due to the unavailability of intelligent support during learning. This research aims to investigate and understand the effect of Learning Analytics instructional support using feedback and prompts, on e-learners’ SSRL indicators. A theoretical model was derived from these factors and built from selected features. Both survey data and behavioral trace data were employed in the Learning analytics-based intervention. In this paper, only a segment of the data is discussed. The e-learners’ perceptions and feedback confirmed that Learning Analytics-based interventions using prompts and feedback are effective in promoting SSRL in collaborative e-learning contexts. The findings indicated that the success of SSRLA-based intervention be tied to support from instructors and academic counselors, particularly feedback on previous problems and quizzes. This will improve e-learners’ SSRL skills for quality educational experience, hence motivate e-learners, and help lecturers to identify at-risk learners in web programming problem-based courses. In conclusion, without adequate utilization of the Learning Analytics interventional trace data, critical information about learners’ behavior patterns in terms of their online interactivity with the course activities and their SSRL profiles and strategies cannot be disclosed leading to little improvement of e-Learning interventions.
- 25 April 2024
- Published by Academic Conferences and Publishing International Ltd in Electronic Journal of e-Learning
- Vol. 22 (5) , 103-116
Open AccessLearning Analytics Intervention Using Prompts and Feedback for Measurement of e-Learners’ Socially-Shared Regulated Learning
The future of university learning in Sub-Saharan Africa has become increasingly digitally transformed by both e-Learning, and learning analytics, post-COVID-19 pandemic. Learning analytics intervention is critical for effective support of socially-shared regulated learning skills, which are crucial for twenty-first-century e-Learners. Socially-shared regulation is the major determinant of successful collaborative e-learning. However, most e-learners lack such skills thereby facing socio-cognitive challenges, due to the unavailability of intelligent support during learning. This research aims to investigate and understand the effect of Learning Analytics instructional support using feedback and prompts, on e-learners’ SSRL indicators. A theoretical model was derived from these factors and built from selected features. Both survey data and behavioral trace data were employed in the Learning analytics-based intervention. In this paper, only a segment of the data is discussed. The e-learners’ perceptions and feedback confirmed that Learning Analytics-based interventions using prompts and feedback are effective in promoting SSRL in collaborative e-learning contexts. The findings indicated that the success of SSRLA-based intervention be tied to support from instructors and academic counselors, particularly feedback on previous problems and quizzes. This will improve e-learners’ SSRL skills for quality educational experience, hence motivate e-learners, and help lecturers to identify at-risk learners in web programming problem-based courses. In conclusion, without adequate utilization of the Learning Analytics interventional trace data, critical information about learners’ behavior patterns in terms of their online interactivity with the course activities and their SSRL profiles and strategies cannot be disclosed leading to little improvement of e-Learning interventions.
- Open Access
- 21 June 2023
- Published by University Library J. C. Senckenberg in Journal for Language Technology and Computational Linguistics
- Vol. 36 (2) , 1-27
Kencorpus: A Kenyan Language Corpus of Swahili, Dholuo and Luhya for Natural Language Processing Tasks
Indigenous African languages are categorized as under-served in Natural Language Processing. They therefore experience poor digital inclusivity and information access. The processing challenge with such languages has been how to use machine learning and deep learning models without the requisite data. The Kencorpus project intends to bridge this gap by collecting and storing text and speech data that is good enough for data-driven solutions in applications such as machine translation, question answering and transcription in multilingual communities. The Kencorpus dataset is a text and speech corpus for three languages predominantly spoken in Kenya: Swahili, Dholuo and Luhya (three dialects of Lumarachi, Lulogooli and Lubukusu). Data collection was done by researchers who were deployed to the various data collection sources such as communities, schools, media, and publishers. The Kencorpus' dataset has a collection of 5,594 items, being 4,442 texts of 5.6 million words and 1,152 speech files worth 177 hours. Based on this data, other datasets were also developed such as Part of Speech tagging sets for Dholuo and the Luhya dialects of 50,000 and 93,000 words tagged respectively. We developed 7,537 Question-Answer pairs from 1,445 Swahili texts and also created a text translation set of 13,400 sentences from Dholuo and Luhya into Swahili. The datasets are useful for downstream machine learning tasks such as model training and translation. Additionally, we developed two proof of concept systems: for Kiswahili speech-to-text and a machine learning system for Question Answering task. These proofs provided results of a performance of 18.87% word error rate for the former, and 80% Exact Match (EM) for the latter system. These initial results give great promise to the usability of Kencorpus to the machine learning community. Kencorpus is one of few public domain corpora for these three low resource languages and forms a basis of learning and sharing experiences for similar works especially for low resource languages. Challenges in developing the corpus included deficiencies in the data sources, data cleaning challenges, relatively short project timelines and the Coronavirus disease (COVID-19) pandemic that restricted movement and hence the ability to get the data in a timely manner.
- 21 June 2023
- Published by University Library J. C. Senckenberg in Journal for Language Technology and Computational Linguistics
- Vol. 36 (2) , 1-27
Open AccessKencorpus: A Kenyan Language Corpus of Swahili, Dholuo and Luhya for Natural Language Processing Tasks
Indigenous African languages are categorized as under-served in Natural Language Processing. They therefore experience poor digital inclusivity and information access. The processing challenge with such languages has been how to use machine learning and deep learning models without the requisite data. The Kencorpus project intends to bridge this gap by collecting and storing text and speech data that is good enough for data-driven solutions in applications such as machine translation, question answering and transcription in multilingual communities. The Kencorpus dataset is a text and speech corpus for three languages predominantly spoken in Kenya: Swahili, Dholuo and Luhya (three dialects of Lumarachi, Lulogooli and Lubukusu). Data collection was done by researchers who were deployed to the various data collection sources such as communities, schools, media, and publishers. The Kencorpus' dataset has a collection of 5,594 items, being 4,442 texts of 5.6 million words and 1,152 speech files worth 177 hours. Based on this data, other datasets were also developed such as Part of Speech tagging sets for Dholuo and the Luhya dialects of 50,000 and 93,000 words tagged respectively. We developed 7,537 Question-Answer pairs from 1,445 Swahili texts and also created a text translation set of 13,400 sentences from Dholuo and Luhya into Swahili. The datasets are useful for downstream machine learning tasks such as model training and translation. Additionally, we developed two proof of concept systems: for Kiswahili speech-to-text and a machine learning system for Question Answering task. These proofs provided results of a performance of 18.87% word error rate for the former, and 80% Exact Match (EM) for the latter system. These initial results give great promise to the usability of Kencorpus to the machine learning community. Kencorpus is one of few public domain corpora for these three low resource languages and forms a basis of learning and sharing experiences for similar works especially for low resource languages. Challenges in developing the corpus included deficiencies in the data sources, data cleaning challenges, relatively short project timelines and the Coronavirus disease (COVID-19) pandemic that restricted movement and hence the ability to get the data in a timely manner.
- Open Access
- 1 May 2023
- Published by Institute of Advanced Engineering and Science in Indonesian Journal of Electrical Engineering and Computer Science
- Vol. 30 (2) , 817-824
Evaluating the Bantu parametric grammar in grammatical framework using Swahili grammar
Monologue grammar development for under-resourced languages is very slow and laborious (involves creating rules to generate the computational grammar to enable analysis and synthesis of the language(s) in question). However, the need for computational grammar continues to soar in this technology-driven economy for information synthesis and analysis. This paper aims to set up an experiment in the grammatical framework (GF), to evaluate the efficiency and effectiveness of the Bantu parameterized grammar to bootstrap a new grammar for Swahili. The goal is to investigate how this approach of bootstrapping grammar in a multilingual environment is effective and efficient in reducing the development effort. The bootstrapping approach uses the GF morphology-driven approach to develop portable and unique segments of Swahili grammar. The bootstrapped Swahili grammar resulted in a shareability of 100%, 71.11%, 68.75%, and 91.41% at category linearization, paradigms, parameters and syntax rules respectively. The portability was at 15.55%, 18.57%, and 8.59% at paradigms, parameters and syntax rules, respectively. Finally, this paper contributes in: first, provides an approach that leads to an effective and efficient method for developing and bootstrapping computational grammar for the under-resourced Bantu languages. Secondly, the research provided a Swahili grammar.
- 1 May 2023
- Published by Institute of Advanced Engineering and Science in Indonesian Journal of Electrical Engineering and Computer Science
- Vol. 30 (2) , 817-824
Open AccessEvaluating the Bantu parametric grammar in grammatical framework using Swahili grammar
Monologue grammar development for under-resourced languages is very slow and laborious (involves creating rules to generate the computational grammar to enable analysis and synthesis of the language(s) in question). However, the need for computational grammar continues to soar in this technology-driven economy for information synthesis and analysis. This paper aims to set up an experiment in the grammatical framework (GF), to evaluate the efficiency and effectiveness of the Bantu parameterized grammar to bootstrap a new grammar for Swahili. The goal is to investigate how this approach of bootstrapping grammar in a multilingual environment is effective and efficient in reducing the development effort. The bootstrapping approach uses the GF morphology-driven approach to develop portable and unique segments of Swahili grammar. The bootstrapped Swahili grammar resulted in a shareability of 100%, 71.11%, 68.75%, and 91.41% at category linearization, paradigms, parameters and syntax rules respectively. The portability was at 15.55%, 18.57%, and 8.59% at paradigms, parameters and syntax rules, respectively. Finally, this paper contributes in: first, provides an approach that leads to an effective and efficient method for developing and bootstrapping computational grammar for the under-resourced Bantu languages. Secondly, the research provided a Swahili grammar.
- Top Cited PapersOpen Access
- 6 April 2023
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Asian and Low-Resource Language Information Processing
- Vol. 22 (4) , 1-20
KenSwQuAD—A Question Answering Dataset for Swahili Low-resource Language
The need for question-answering (QA) datasets in low-resource languages is the motivation of this research, leading to the development of the Kencorpus Swahili Question Answering Dataset (KenSwQuAD). This dataset is annotated from raw story texts of Swahili, a low-resource language that is predominantly spoken in eastern Africa and in other parts of the world. Question-answering datasets are important for machine comprehension of natural language for tasks such as internet search and dialog systems. Machine learning systems need training data such as the gold-standard question-answering set developed in this research. The research engaged annotators to formulate QA pairs from Swahili texts collected by the Kencorpus project, a Kenyan languages corpus. The project annotated 1,445 texts from the total 2,585 texts with at least 5 QA pairs each, resulting in a final dataset of 7,526 QA pairs. A quality assurance set of 12.5% of the annotated texts confirmed that the QA pairs were all correctly annotated. A proof of concept on applying the set to the QA task confirmed that the dataset can be usable for such tasks. KenSwQuAD has also contributed to resourcing of the Swahili language.
- 6 April 2023
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Asian and Low-Resource Language Information Processing
- Vol. 22 (4) , 1-20
Top Cited PapersOpen AccessKenSwQuAD—A Question Answering Dataset for Swahili Low-resource Language
The need for question-answering (QA) datasets in low-resource languages is the motivation of this research, leading to the development of the Kencorpus Swahili Question Answering Dataset (KenSwQuAD). This dataset is annotated from raw story texts of Swahili, a low-resource language that is predominantly spoken in eastern Africa and in other parts of the world. Question-answering datasets are important for machine comprehension of natural language for tasks such as internet search and dialog systems. Machine learning systems need training data such as the gold-standard question-answering set developed in this research. The research engaged annotators to formulate QA pairs from Swahili texts collected by the Kencorpus project, a Kenyan languages corpus. The project annotated 1,445 texts from the total 2,585 texts with at least 5 QA pairs each, resulting in a final dataset of 7,526 QA pairs. A quality assurance set of 12.5% of the annotated texts confirmed that the QA pairs were all correctly annotated. A proof of concept on applying the set to the QA task confirmed that the dataset can be usable for such tasks. KenSwQuAD has also contributed to resourcing of the Swahili language.
- Open Access
- 20 July 2022
- Published by Center for Open Access in Science in Open Journal for Information Technology
- Vol. 5 (1) , 1-16
Machine Learning Techniques, Features, Datasets, and Algorithm Performance Parameters for Sentiment Analysis: A Systematic Review
The purpose of this paper is to review various studies on current machine learning techniques used in sentiment analysis with the primary focus on finding the most suitable combinations of the techniques, datasets, data features, and algorithm performance parameters used in most applications. To accomplish this, we performed a systematic review of 24 articles published between 2013 and 2020 covering machine learning techniques for sentiment analysis. The review shows that Support Vector Machine as well as Naïve Bayes techniques are the most popular machine learning techniques; word stem and n-grams are the most extensively applied features, and the Twitter dataset is the most predominant. This review further revealed that machine learning algorithms' performance depends on many factors, including the dataset, extracted features, and size of data used. Accuracy is the most commonly used algorithm performance metric. These findings offer important information for researchers and businesses to use when selecting suitable techniques, features, and datasets for sentiment analysis for various business applications such as brand reputation monitoring.
- 20 July 2022
- Published by Center for Open Access in Science in Open Journal for Information Technology
- Vol. 5 (1) , 1-16
Open AccessMachine Learning Techniques, Features, Datasets, and Algorithm Performance Parameters for Sentiment Analysis: A Systematic Review
The purpose of this paper is to review various studies on current machine learning techniques used in sentiment analysis with the primary focus on finding the most suitable combinations of the techniques, datasets, data features, and algorithm performance parameters used in most applications. To accomplish this, we performed a systematic review of 24 articles published between 2013 and 2020 covering machine learning techniques for sentiment analysis. The review shows that Support Vector Machine as well as Naïve Bayes techniques are the most popular machine learning techniques; word stem and n-grams are the most extensively applied features, and the Twitter dataset is the most predominant. This review further revealed that machine learning algorithms' performance depends on many factors, including the dataset, extracted features, and size of data used. Accuracy is the most commonly used algorithm performance metric. These findings offer important information for researchers and businesses to use when selecting suitable techniques, features, and datasets for sentiment analysis for various business applications such as brand reputation monitoring.
- Open Access
- 4 December 2021
- Published by Sciencedomain International in Journal of Education, Society and Behavioural Science
- p. 32-51
Psychosocial Features for Identifying Hate Speech in Social Media Text
This study uses natural language processing to identify hate speech in social media codeswitched text. It trains nine models and tests their predictiveness in recognizing hate speech in a 50k human-annotated dataset. The article proposes a novel hierarchical approach that leverages Latent Dirichlet Analysis to develop topic models that assist build a high-level Psychosocial feature set we call PDC. PDC organizes words into word families, which helps capture codeswitching during preprocessing for supervised learning models. Informed by the duplex theory of hate, the PDC features are based on a hate speech annotation framework. Frequency-based models employing the PDC feature on tweets from the 2012 and 2017 Kenyan presidential elections yielded an f-score of 83 percent (precision: 81 percent, recall: 85 percent) in recognizing hate speech. The study is notable because it publicly exposes a rich codeswitched dataset for comparative studies. Second, it describes how to create a novel PDC feature set to detect subtle types of hate speech hidden in codeswitched data that previous approaches could not detect.
- 4 December 2021
- Published by Sciencedomain International in Journal of Education, Society and Behavioural Science
- p. 32-51
Open AccessPsychosocial Features for Identifying Hate Speech in Social Media Text
This study uses natural language processing to identify hate speech in social media codeswitched text. It trains nine models and tests their predictiveness in recognizing hate speech in a 50k human-annotated dataset. The article proposes a novel hierarchical approach that leverages Latent Dirichlet Analysis to develop topic models that assist build a high-level Psychosocial feature set we call PDC. PDC organizes words into word families, which helps capture codeswitching during preprocessing for supervised learning models. Informed by the duplex theory of hate, the PDC features are based on a hate speech annotation framework. Frequency-based models employing the PDC feature on tweets from the 2012 and 2017 Kenyan presidential elections yielded an f-score of 83 percent (precision: 81 percent, recall: 85 percent) in recognizing hate speech. The study is notable because it publicly exposes a rich codeswitched dataset for comparative studies. Second, it describes how to create a novel PDC feature set to detect subtle types of hate speech hidden in codeswitched data that previous approaches could not detect.
- 12 November 2020
- Published by Springer Nature in Education and Information Technologies
- Vol. 26 (3) , 2743-2766
Learner behavior prediction in a learning management system
- 12 November 2020
- Published by Springer Nature in Education and Information Technologies
- Vol. 26 (3) , 2743-2766
Learner behavior prediction in a learning management system