Building Language Models for Text with Named Entities
Authors:
- Rizwan ParvezRPRizwan Parvez
- Saikat ChakrabortySCSaikat Chakraborty
- Baishakhi RayBRBaishakhi Ray
- Kai-Wei ChangKCKai-Wei Chang
Preprint
Abstract
Text in many domains involves a significant amount of named entities. Predict- ing the entity names is often challenging for a language model as they appear less frequent on the training corpus. In this paper, we propose a novel and effective approach to building a discriminative language model which can learn the entity names by leveraging their entity type information. We also introduce two benchmark datasets based on recipes and Java programming codes, on which we evalu- ate the proposed model. Experimental re- sults show that our model achieves 52.2% better perplexity in recipe generation and 22.06% on code generation than the state-of-the-art language models.Keywords
All Related Versions
This publication has 8 references indexed in Scilit:
- Are deep neural networks the best choice for modeling source code?2017
- GitcProc: a tool for processing and classifying GitHub commits2017
- Abstract Syntax Networks for Code Generation and Semantic Parsing2017
- Dynamic Entity Representations in Neural Language Models2017
- On the naturalness of softwareCommunications of the ACM, 2016
- Incorporating Copying Mechanism in Sequence-to-Sequence Learning2016
- The Uniqueness of Changes: Characteristics and Applications2015
- Classes for fast maximum entropy training2002