Skip to main content

DocTalk: Combining Dependency-Based Text Graphs and Deep Learning into a Practical Dialog Engine

  • Conference paper
  • First Online:
Flexible Query Answering Systems (FQAS 2021)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 12871))

Included in the following conference series:

Abstract

Today’s deep learning dominates the field of natural language processing (NLP) with text graph-based approaches being another promising approach. However, both have inherent weaknesses. We present our system called DocTalk that brings together a model that combines the strength of the two approaches. DocTalk’s symbiotic model widens its application domain, enhanced with automatic language detection and effective multilingual summarization, keyword extraction, and question answering on several types of documents. Taking advantage of DocTalk’s flexibility, we built it into a dialog engine, coupled with an easy-to-use web interface.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 64.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 84.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.

    Working as a client to the CoreNLP server for English documents.

  2. 2.

    https://poppler.freedesktop.org/.

  3. 3.

    https://huggingface.co/transformers/main_classes/pipelines.html#transformers.QuestionAnsweringPipeline.

  4. 4.

    https://streamlit.io/.

  5. 5.

    https://github.com/Mimino666/langdetect.

  6. 6.

    https://github.com/Diego999/py-rouge.

References

  1. Angeli, G., Nayak, N., Manning, C.D.: Combining natural logic and shallow reasoning for question answering. In: Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 442–452. Association for Computational Linguistics, Berlin, August 2016. https://doi.org/10.18653/v1/P16-1042. https://www.aclweb.org/anthology/P16-1042

  2. Choi, H., et al.: VAE-PGN based abstractive model in multi-stage architecture for text summarization. In: Proceedings of the 12th International Conference on Natural Language Generation, pp. 510–515. Association for Computational Linguistics, Tokyo, October-November 2019. https://doi.org/10.18653/v1/W19-8664. https://www.aclweb.org/anthology/W19-8664

  3. Cui, L., Huang, S., Wei, F., Tan, C., Duan, C., Zhou, M.: SuperAgent: a customer service chatbot for E-commerce websites. In: Proceedings of ACL 2017, System Demonstrations, pp. 97–102. Association for Computational Linguistics, Vancouver, Canada, July 2017. https://www.aclweb.org/anthology/P17-4017

  4. Devlin, J., Chang, M.W., Lee, K., Toutanova, K.: BERT: pre-training of deep bidirectional transformers for language understanding. In: Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 4171–4186. Association for Computational Linguistics, Minneapolis, June 2019. https://doi.org/10.18653/v1/N19-1423. https://www.aclweb.org/anthology/N19-1423

  5. Fang, H., et al.: Sounding board: a user-centric and content-driven social chatbot. In: Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Demonstrations, pp. 96–100. Association for Computational Linguistics, New Orleans, June 2018. https://doi.org/10.18653/v1/N18-5020. https://www.aclweb.org/anthology/N18-5020

  6. Kazemi, A., Pérez-Rosas, V., Mihalcea, R.: Biased TextRank: unsupervised graph-based content extraction. In: Proceedings of the 28th International Conference on Computational Linguistics, pp. 1642–1652. International Committee on Computational Linguistics, Barcelona, December 2020. https://doi.org/10.18653/v1/2020.coling-main.144. https://www.aclweb.org/anthology/2020.coling-main.144

  7. Mihalcea, R., Tarau, P.: TextRank: bringing order into text. In: Proceedings of the 2004 Conference on Empirical Methods in Natural Language Processing, pp. 404–411. Association for Computational Linguistics, Barcelona, July 2004. https://www.aclweb.org/anthology/W04-3252

  8. Page, L., Brin, S.: The anatomy of a large-scale hypertextual web search engine. Comput. Netw. ISDN Syst. 30, 107–117 (1998). http://citeseer.nj.nec.com/brin98anatomy.html

  9. Qi, P., Zhang, Y., Zhang, Y., Bolton, J., Manning, C.D.: Stanza: a Python natural language processing toolkit for many human languages. In: Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics: System Demonstrations (2020). https://nlp.stanford.edu/pubs/qi2020stanza.pdf

  10. Rada, M., Dragomir, R.: Graph-Based Natural Language Processing and Information Retrieval. Cambridge University Press (2011). https://www.academia.edu/2958437/Graph_based_natural_language_processing_and_information_retrieval

  11. Rajpurkar, P., Zhang, J., Lopyrev, K., Liang, P.: SQuAD: 100,000+ questions for machine comprehension of text. In: Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, pp. 2383–2392. Association for Computational Linguistics, Austin, November 2016. https://doi.org/10.18653/v1/D16-1264. https://www.aclweb.org/anthology/D16-1264

  12. Shashi, N., Shay, B.C., Mirella, L.: Ranking sentences for extractive summarization with reinforcement learning. In: North American Chapter of the Association for Computational Linguistics 2018 (2018). https://arxiv.org/abs/1802.08636

  13. Tarau, P., Blanco, E.: Interactive text graph mining with a prolog-based dialog engine. Theory Pract. Log. Program. 1–20 (2020). https://doi.org/10.1017/S1471068420000137

  14. Wang, W., Yang, N., Wei, F., Chang, B., Zhou, M.: Gated self-matching networks for reading comprehension and question answering. In: Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 189–198. Association for Computational Linguistics, Vancouver, July 2017. https://doi.org/10.18653/v1/P17-1018. https://www.aclweb.org/anthology/P17-1018

  15. Zylich, B., Viola, A., Toggerson, B., Al-Hariri, L., Lan, A.: Exploring automated question answering methods for teaching assistance. In: Bittencourt, I.I., Cukurova, M., Muldner, K., Luckin, R., Millán, E. (eds.) AIED 2020. LNCS (LNAI), vol. 12163, pp. 610–622. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-52237-7_49

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Guo, Y., Sun, W., Khan, A., Doan, T., Tarau, P. (2021). DocTalk: Combining Dependency-Based Text Graphs and Deep Learning into a Practical Dialog Engine. In: Andreasen, T., De Tré, G., Kacprzyk, J., Legind Larsen, H., Bordogna, G., Zadrożny, S. (eds) Flexible Query Answering Systems. FQAS 2021. Lecture Notes in Computer Science(), vol 12871. Springer, Cham. https://doi.org/10.1007/978-3-030-86967-0_14

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-86967-0_14

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-86966-3

  • Online ISBN: 978-3-030-86967-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics