[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-492873-105":59,"doc-detail-492873-en":130},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","look-ma-only-400-samples-revisiting-the-effectiveness-of-automatic-n-gram-rule-generation-for-spelling-normalization-in-filipino","Look Ma, Only 400 Samples! Revisiting the Effectiveness of Automatic N-Gram Rule Generation for Spelling Normalization in Filipino","","Developing Filipino NLP systems for online text requires reliable spelling normalization, yet data scarcity limits the use of large language models for spelling correction. This paper proposes an N-Gram model combined with Damerau-Levenshtein distance and automatic rule extraction. Training on 300 examples, the approach achieves strong accuracy and lower edit distance than other deep learning baselines. The method is lightweight in computation, fast to retrain, and interpretable for troubleshooting, demonstrating the value of traditional approaches under low-data conditions.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/look-ma-only-400-samples-revisiting-the-effectiveness-of-automatic-n-gram-rule-generation-for-spelling-normalization-in-filipino/492873/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/look-ma-only-400-samples-revisiting-the-effectiveness-of-automatic-n-gram-rule-generation-for-spelling-normalization-in-filipino/492873.png","ImageObject",300,407,{"name":92,"@type":93},"nayy☆","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-16","2026-10-01",true,{"@type":102,"interactionType":103,"userInteractionCount":24},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"Why is spelling normalization important for Filipino online text?","Question",{"text":112,"@type":113},"Online Filipino NLP applications depend on models that can process noisy text; spelling correction is a crucial preprocessing step. The paper notes that many online words are abbreviated or contracted, making normalization necessary for downstream tasks.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What model does the paper propose for spelling correction?",{"text":117,"@type":113},"It proposes an N-Gram plus Damerau-Levenshtein distance model with automatic rule extraction. The rules are generated from a small training dataset and used to propose and select candidate corrections.",{"name":119,"@type":110,"acceptedAnswer":120},"How does the proposed approach perform with limited training data?",{"text":121,"@type":113},"Trained on 300 samples, it achieves good performance and outperforms other deep learning approaches in accuracy and edit distance. The paper also emphasizes low compute requirements and fast training for easy retraining and troubleshooting.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},492873,1792252061,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":24,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":34,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":143,"read_time":144,"preview_page_count":19,"preview_urls":145},962090893153,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","Look Ma, Only 400 Samples! Revisiting the Effectiveness of Automatic N-Gram Rule Generation for Spelling Normalization in Filipino  \nLorenzo Jaime Yu Flores Dragomir Radev  \nYale University  \n[lj.flores@yale.edu](lj.flores@yale.edu)  \nAbstract  \nWith 84.75 million Filipinos online, the ability for models to process online text is crucial for developing Filipino NLP applications. To this end, spelling correction is a crucial preprocessing step for downstream processing. However, the lack of data prevents the use of language models for this task. In this paper, we propose an N-Gram + Damerau-Levenshtein distance model with automatic rule extraction.  \nWe train the model on 300 samples, and show that despite limited training data, it achieves good performance and outperforms other deep learning approaches in terms of accuracy and edit distance. Moreover, the model (1) requires little compute power, (2) trains in little time, thus allowing for retraining, and (3) is easily interpretable, allowing for direct troubleshooting, highlighting the success of traditional approaches over more complex deep learning models in settings where data is unavailable.  \n1 Introduction  \nFilipinos are among the most active social media users worldwide (Baclig, 2022) . In 2022, roughly 84.75M Filipinos were online (Statista, 2022a), with 96 .2% on Facebook (Statista, 2022b) . Hence, developing language models that can process online text is crucial for Filipino NLP applications.  \nContractions and abbreviations are common in such online text (Salvacion and Limpot, 2022) . For example, dito (here) can be written as d2, or nakakatawa (funny) as nkktawa, which are abbreviated based on their pronunciation. However, language models like Google Translate remain limited in their ability to detect and correct such words, as we find later in the paper. Hence, we aim to improve the spelling correction ability of such models. In this paper, we demonstrate the effectiveness of a simple n-gram based algorithm for this task, inspired by prior work on automatic rule generation by Mangu and Brill (1997) . Specifically, we (1) create a training dataset of 300 examples,(2)  \nautomatically generate n-gram based spelling rules using the dataset, and (3) use the rules to propose and select candidates. We then demonstrate that this model outperforms seq-to-seq approaches.  \nUltimately, the paper aims to highlight the use of traditional approaches in areas where SOTA language models are difficult to apply due to limitations in data availability. Such approaches have the added benefit of (1) requiring little compute power for training and inference,(2) training in very little time (allowing for frequent retraining), and (3) giving researchers full clarity over its inner workings, thereby improving the ease of troubleshooting.  \n2 Related Work  \nThe problem of online text spelling correction is most closely related to spelling normalization – the subtask of reverting shortcuts and abbreviations into their original form (Nocon et al., 2014) . In this paper, we will use correcting to mean normalizing a word. This is useful for low-resource languages like Filipino, wherein spelling is often not standardized across its users (Li et al., 2020) .  \nMany approaches have been tried for word normalization in online Filipino text: (1) predetermined rules using commonly seen patterns (Guingab et al., 2014 ; Oco and Borra, 2011),(2) dictionary-substitution models for extracting patterns in misspelled words (Nocon et al., 2014), or (3) trigrams and Levenshtein or QWERTY distance to select words which share similar trigrams or are close in terms of edit or keyboard distance (Chan et al., 2008 ; Go et al., 2017) .  \nEach method has its limitations which we seek to address. Predetermined rules must be manually updated to learn emerging patterns, as is common in the constantly evolving vocabulary of online Filipino text (Salvacion and Limpot, 2022 ; Lumabi, 2020) . Dictionary-substitution mo","cbCaiiwkTD5boDBW","https://ap.wps.com/l/cbCaiiwkTD5boDBW","pdf",631260,"English","# Abstract\n# 1 Introduction\n# 2 Related Work\n# 3 Data","[{\"question\":\"Why is spelling normalization important for Filipino online text?\",\"answer\":\"Online Filipino NLP applications depend on models that can process noisy text; spelling correction is a crucial preprocessing step. The paper notes that many online words are abbreviated or contracted, making normalization necessary for downstream tasks.\"},{\"question\":\"What model does the paper propose for spelling correction?\",\"answer\":\"It proposes an N-Gram plus Damerau-Levenshtein distance model with automatic rule extraction. The rules are generated from a small training dataset and used to propose and select candidate corrections.\"},{\"question\":\"How does the proposed approach perform with limited training data?\",\"answer\":\"Trained on 300 samples, it achieves good performance and outperforms other deep learning approaches in accuracy and edit distance. The paper also emphasizes low compute requirements and fast training for easy retraining and troubleshooting.\"}]","Look Ma, Only 400 Samples! Revisiting the Effectiveness of Automatic N-Gram Rule Generation for Spelling Normalization in Filipino | PDF",1790871812,18,[146,150,154,158],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/68c77a76fd8ac825a125f4706e4b6b2e.webp",983,1390,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/356bf1511608ae210dd956518ede0d83.webp",982,1388,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/09ef093d145e0d7acf07a1d9df34e4ef.webp",981,1387,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/9534565ba00b0d846ecea1af446dcefe.webp",980,1385]