Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to main content

Translate Japanese into Formal Languages with an Enhanced Generalization Algorithm

  • Conference paper
  • First Online:
Intelligent Computing (SAI 2020)

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 1229))

Included in the following conference series:

  • 750 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    goo.gl/MAj70v.

  2. 2.

    http://www.biology-questions-and-answers.com.

References

  1. Baral, C., Dzifcak, J., Kumbhare, K., Vo, N.H.: The NL2KR system. In: Proceedings of LPNMR 2013 (2013)

    Google Scholar 

  2. Bekki, D.: Formal Theory of Japanese Syntax. Kuroshio Shuppan (2010). (in Japanese)

    Google Scholar 

  3. Berant, J., Chou, A., Frostig, R., Liang, P.: Semantic parsing on freebase from question-answer pairs. In: Proceedings of EMNLP, pp. 1533–1544 (2013)

    Google Scholar 

  4. Berant, J., Liang, P.: Semantic parsing via paraphrasing. In: Proceedings of ACL (2014)

    Google Scholar 

  5. Cakici, R.: Automatic induction of a CCG grammar for Turkish. In: ACL 2005, pp. 73–78 (2005)

    Google Scholar 

  6. 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

    Google Scholar 

  7. Dong, L., Lapata, M.: Language to logical form with neural attention. In: Proceedings of ACL 2016 (2016)

    Google Scholar 

  8. 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/

  9. Gardner, M., Krishnamurthy, J.: Open-vocabulary semantic parsing with both distributional statistics and formal knowledge. In: Proceedings of AAAI, pp. 3195–3201 (2017)

    Google Scholar 

  10. Gaur, S., Vo, N.H., Kashihara, K., Baral, C.: Translating simple legal text to formal representations. In: JSAI-isAI 2014, pp. 259–273 (2014)

    Google Scholar 

  11. 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)

    Google Scholar 

  12. Krishnamurthy, J., Mitchell, T.M.: Learning a compositional semantics for freebase with an open predicate vocabulary. TACL 3, 257–270 (2015)

    Google Scholar 

  13. 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)

    Google Scholar 

  14. 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)

    Google Scholar 

  15. 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

  16. Liang, P., Jordan, M.I., Klein, D.: Learning dependency-based compositional semantics. Comput. Linguist. 39(2), 389–446 (2013)

    Article  MathSciNet  Google Scholar 

  17. Lierler, Y., Schüller, P.: Parsing combinatory categorial grammar via planning in answer set programming. In: Correct Reasoning, pp. 436–453. Springer (2012)

    Google Scholar 

  18. 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

  19. Mikolov, T., Chen, K., Corrado, G., Dean, J.: Word2vec (2014). https://code.google.com/p/word2vec

  20. Miller, G.A.: WordNet: a lexical database for English. Commun. ACM 38(11), 39–41 (1995)

    Article  Google Scholar 

  21. 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)

    Google Scholar 

  22. 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)

    Google Scholar 

  23. 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

  24. Rabinovich, M., Stern, M., Klein, D.: Abstract syntax networks for code generation and semantic parsing. In: Proceedings of ACL 2017, pp. 1139–1149 (2017)

    Google Scholar 

  25. 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)

    Google Scholar 

  26. Socher, R., Bauer, J., Manning, C.D., Ng, A.Y.: Parsing with Compositional Vector Grammars. In: ACL, no. 1, pp. 455–465 (2013)

    Google Scholar 

  27. Steedman, M.: The Syntactic Process. MIT Press, Cambridge (2000)

    MATH  Google Scholar 

  28. 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)

    Google Scholar 

  29. 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)

    Google Scholar 

  30. 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)

    Google Scholar 

  31. 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)

    Article  Google Scholar 

  32. Vo, N.H., Mitra, A., Baral, C.: The NL2KR platform for building natural language translation systems. In: Proceedings of ACL (2015)

    Google Scholar 

  33. 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

  34. 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

  35. Wu, Z., Palmer, M.: Verbs semantics and lexical selection. In: ACL 1994, pp. 133–138. Association for Computational Linguistics, Stroudsburg (1994)

    Google Scholar 

  36. Yao, X., Durme, B.V.: Information extraction over structured data: question answering with freebase. In: Proceedings of ACL, pp. 956–966 (2014)

    Google Scholar 

  37. 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/

  38. 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

  39. Zettlemoyer, L.S., Collins, M.: Online learning of relaxed CCG grammars for parsing to logical form. In: Proceedings of EMNLP-CoNLL-2007 (2007)

    Google Scholar 

  40. 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

  41. Zhao, K., Huang, L.: Type-driven incremental semantic parsing with polymorphism. In: NAACL HLT 2015, pp. 1416–1421 (2015)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Kazuaki Kashihara .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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

Publish with us

Policies and ethics