Abstract
In this paper, we propose the extension of the semi-automated semantic parsing platform: NL2KR to Japanese. Japanese is an agglutinative language and it is difficult to assign the meaning of each word since different meanings are created using a single root-word. We introduce two algorithms, the Phrase Override and the enhanced Generalization. The Phrase Override algorithm gives the same feature of the original NL2KR: Syntax Override that adjusts the output Combinatory Categorial Grammar (CCG) Parse tree structure from its English CCG parser. To extend the other languages, however, it is needed to implement the CCG parser for the other languages. Japanese CCG Parser is provided, and the Phrase Override gives the way to adjust the generated CCG parse tree structure from the Japanese CCG parser. The Generalization used in NL2KR generates the meanings of missing words by applying missing words. Our proposing enhanced Generalization algorithm uses the semantically similar words of the missing word and apply the templates of these words to generate the missing word’s meanings. The evaluation result shows that this approach improves the accuracy of not only Japanese but also English with the smaller learned lexicons. For the evaluation, we provide new data corpora for Japanese. GeoQuery corpus is translated several languages including Japanese but the Japanese GeoQuery is a Japanese transliteration. We provide the Japanese translated GeoQuery and this is the first Japanese corpora. Our proposed approach can extend to other agglutinative languages such as Turkish, Finish, and Esperanto when a CCG parser is available for them. Our platform is Java base and it does not depends on the machine environment.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
goo.gl/MAj70v.
- 2.
References
Baral, C., Dzifcak, J., Kumbhare, K., Vo, N.H.: The NL2KR system. In: Proceedings of LPNMR 2013 (2013)
Bekki, D.: Formal Theory of Japanese Syntax. Kuroshio Shuppan (2010). (in Japanese)
Berant, J., Chou, A., Frostig, R., Liang, P.: Semantic parsing on freebase from question-answer pairs. In: Proceedings of EMNLP, pp. 1533–1544 (2013)
Berant, J., Liang, P.: Semantic parsing via paraphrasing. In: Proceedings of ACL (2014)
Cakici, R.: Automatic induction of a CCG grammar for Turkish. In: ACL 2005, pp. 73–78 (2005)
Curran, J., Clark, S., Bos, J.: Linguistically motivated large-scale NLP with C&C and boxer. In: Proceedings of ACL 2007, pp. 33–36. ACL, Prague, June 2007
Dong, L., Lapata, M.: Language to logical form with neural attention. In: Proceedings of ACL 2016 (2016)
Dong, L., Lapata, M.: Coarse-to-fine decoding for neural semantic parsing. In: Proceedings of ACL 2018, pp. 731–742 (2018). https://www.aclweb.org/anthology/P18-1068/
Gardner, M., Krishnamurthy, J.: Open-vocabulary semantic parsing with both distributional statistics and formal knowledge. In: Proceedings of AAAI, pp. 3195–3201 (2017)
Gaur, S., Vo, N.H., Kashihara, K., Baral, C.: Translating simple legal text to formal representations. In: JSAI-isAI 2014, pp. 259–273 (2014)
Gelfond, M., Lifschitz, V.: The stable model semantics for logic programming. In: Kowalski, R., Bowen, K. (eds.) Logic Programming: Proceedings of the Fifth International Conference and Symposium, pp. 1070–1080. MIT Press (1988)
Krishnamurthy, J., Mitchell, T.M.: Learning a compositional semantics for freebase with an open predicate vocabulary. TACL 3, 257–270 (2015)
Kwiatkowski, T., Choi, E., Artzi, Y., Zettlemoyer, L.S.: Scaling semantic parsers with on-the-fly ontology matching. In: Proceedings of EMNLP 2013, pp. 1545–1556 (2013)
Kwiatkowski, T., Zettlemoyer, L., Goldwater, S., Steedman, M.: Inducing probabilistic CCG grammars from logical form with higher-order unification. In: Proceedings of the EMNLP 2010, pp. 1223–1233. Association for Computational Linguistics (2010)
Kwiatkowski, T., Zettlemoyer, L., Goldwater, S., Steedman, M.: Lexical generalization in CCG grammar induction for semantic parsing. In: Proceedings of the EMNLP 2011, pp. 1512–1523. Association for Computational Linguistics (2011). http://dl.acm.org/citation.cfm?id=2145593
Liang, P., Jordan, M.I., Klein, D.: Learning dependency-based compositional semantics. Comput. Linguist. 39(2), 389–446 (2013)
Lierler, Y., Schüller, P.: Parsing combinatory categorial grammar via planning in answer set programming. In: Correct Reasoning, pp. 436–453. Springer (2012)
Matuszek, C., Herbst, E., Zettlemoyer, L., Fox, D.: Learning to parse natural language commands to a robot control system. In: Experimental Robotics, pp. 403–415. Springer (2013). http://link.springer.com/chapter/10.1007/978-3-319-00065-7_28
Mikolov, T., Chen, K., Corrado, G., Dean, J.: Word2vec (2014). https://code.google.com/p/word2vec
Miller, G.A.: WordNet: a lexical database for English. Commun. ACM 38(11), 39–41 (1995)
Mineshima, K., Tanaka, R., MartĂnez-GĂłmez, P., Miyao, Y., Bekki, D.: Building compositional semantics and higher-order inference system for a wide-coverage Japanese CCG parser. In: Proceedings of EMNLP 2016, pp. 2236–2242 (2016)
Noji, H., Miyao, Y., Johnson, M.: Using left-corner parsing to encode universal structural constraints in grammar induction. In: Proceedings of the EMNLP 2016, Austin, Texas, USA, 1–4 November 2016, pp. 33–43 (2016)
Pennington, J., Socher, R., Manning, C.D.: GloVe: Global vectors for word representation. In: Empirical Methods in Natural Language Processing (EMNLP), pp. 1532–1543 (2014). http://www.aclweb.org/anthology/D14-1162
Rabinovich, M., Stern, M., Klein, D.: Abstract syntax networks for code generation and semantic parsing. In: Proceedings of ACL 2017, pp. 1139–1149 (2017)
Reddy, S., Täckström, O., Collins, M., Kwiatkowski, T., Das, D., Steedman, M., Lapata, M.: Transforming dependency structures to logical forms for semantic parsing. TACL 4, 127–140 (2016)
Socher, R., Bauer, J., Manning, C.D., Ng, A.Y.: Parsing with Compositional Vector Grammars. In: ACL, no. 1, pp. 455–465 (2013)
Steedman, M.: The Syntactic Process. MIT Press, Cambridge (2000)
Tang, L.R., Mooney, R.J.: Using multiple clause constructors in inductive logic programming for semantic parsing. In: j-LECT-NOTES-COMP-SCI, vol. 2167, 466–477 (2001)
Turian, J., Ratinov, L., Bengio, Y.: Word representations: a simple and general method for semi-supervised learning. In: Proceedings of ACL 2010, pp. 384–394. Association for Computational Linguistics (2010)
Uematsu, S., Matsuzaki, T., Hanaoka, H., Miyao, Y., Mima, H.: Integrating multiple dependency corpora for inducing wide-coverage Japanese CCG resources. In: Proceedings of ACL 2013 (2013)
Uematsu, S., Matsuzaki, T., Hanaoka, H., Miyao, Y., Mima, H.: Integrating multiple dependency corpora for inducing wide-coverage Japanese CCG resources. ACM Trans. Asian Low-Resour. Lang. Inf. Process. 14(1), 1:1–1:24 (2015)
Vo, N.H., Mitra, A., Baral, C.: The NL2KR platform for building natural language translation systems. In: Proceedings of ACL (2015)
Wong, Y.W., Mooney, R.J.: Learning for semantic parsing with statistical machine translation. In: Proceedings of HLT-NAACL 2006 (HLT-NAACL 2006), pp. 439–446. ACL, Stroudsburg (2006). https://doi.org/10.3115/1220835.1220891
Wong, Y.W., Mooney, R.J.: Learning synchronous grammars for semantic parsing with lambda calculus. In: Proceedings of the 45th Annual Meeting of the ACL (ACL 2007), Prague, Czech Republic, June 2007. http://www.cs.utexas.edu/users/ai-lab/?wong:acl07
Wu, Z., Palmer, M.: Verbs semantics and lexical selection. In: ACL 1994, pp. 133–138. Association for Computational Linguistics, Stroudsburg (1994)
Yao, X., Durme, B.V.: Information extraction over structured data: question answering with freebase. In: Proceedings of ACL, pp. 956–966 (2014)
Yoshikawa, M., Mineshima, K., Noji, H., Bekki, D.: Consistent CCG parsing over multiple sentences for improved logical reasoning. In: Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT, New Orleans, Louisiana, USA, 1–6 June 2018, Volume 2 (Short Papers), pp. 407–412 (2018). https://www.aclweb.org/anthology/N18-2065/
Yoshikawa, M., Noji, H., Matsumoto, Y.: A* CCG parsing with a supertag and dependency factored model. In: Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 277–287. Association for Computational Linguistics, Vancouver, July 2017. http://aclweb.org/anthology/P17-1026
Zettlemoyer, L.S., Collins, M.: Online learning of relaxed CCG grammars for parsing to logical form. In: Proceedings of EMNLP-CoNLL-2007 (2007)
Zhang, Y., Clark, S.: Shift-reduce CCG parsing. In: Proceedings of the 49th Annual Meeting of the ACL: Human Language Technologies, pp. 683–692. ACL (2011). http://aclweb.org/anthology/P11-1069
Zhao, K., Huang, L.: Type-driven incremental semantic parsing with polymorphism. In: NAACL HLT 2015, pp. 1416–1421 (2015)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this paper
Cite this paper
Kashihara, K. (2020). Translate Japanese into Formal Languages with an Enhanced Generalization Algorithm. In: Arai, K., Kapoor, S., Bhatia, R. (eds) Intelligent Computing. SAI 2020. Advances in Intelligent Systems and Computing, vol 1229. Springer, Cham. https://doi.org/10.1007/978-3-030-52246-9_47
Download citation
DOI: https://doi.org/10.1007/978-3-030-52246-9_47
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-52245-2
Online ISBN: 978-3-030-52246-9
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)