FlashNormalize: Programming by Examples for Text Normalization
Proceedings of the Twenty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 776-782.
Abstract
Several applications including text-to-speech require some normalized format of non-standard words in various domains such as numbers, dates, and currencies and in various human languages. The traditional approach of manually constructing a program for such a normalization task requires expertise in both programming and target (human) language and further does not scale to a large number of domain, format, and target language combinations. We propose to learn programs for such normalization tasks through examples. We present a domain-specific programming language that offers appropriate abstractions for succinctly describing such normalization tasks, and then present a novel search algorithm that can effectively learn programs in this language from input-output examples. We also briefly describe domain-specific heuristics for guiding users of our system to provide representative examples for normalization tasks related to that domain. Our experiments show that weare able to effectively learn desired programs for a variety of normalization tasks.
@inproceedings{ijcai2015p115,
title = {FlashNormalize: Programming by Examples for Text Normalization},
author = {Kini, Dileep and Gulwani, Sumit},
booktitle = {Proceedings of the Twenty-Fourth International Joint Conference on
Artificial Intelligence, {IJCAI-15}},
publisher = {International Joint Conferences on Artificial Intelligence},
editor = {Qiang Yang and Michael Wooldridge},
pages = {776--782},
year = {2015},
month = {7},
note = {Main Track},
url = {https://ijcai.org/proceedings/2015/115},
}
TY - CPAPER TI - FlashNormalize: Programming by Examples for Text Normalization AU - Kini, Dileep AU - Gulwani, Sumit T2 - Proceedings of the Twenty-Fourth International Joint Conference on Artificial Intelligence, IJCAI-15 PB - International Joint Conferences on Artificial Intelligence PY - 2015 SP - 776 EP - 782 UR - https://ijcai.org/proceedings/2015/115 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: