Skip to main content

An Approach for Building Effective Real Estate Chatbots in Vietnamese

Part of the Studies in Computational Intelligence book series (SCI,volume 899)


This paper presents a method for building a real estate chatbot automatically to support customers in Vietnamese. The chatbot is trained with data set collected on Facebook groups and from the famous real estate website in Vietnam. Using Logistic Regression, user’s intent recognition task achieves precision = 0.93, recall = 0.87 and F1-score = 0.89, while the automatic entity labeling achieves 83% accuracy thanks to the development of a real estate knowledge base. Besides, we report our experience on the design of dialog management modules.

T.-D. Cao and Q. H. Nguyen—Contributed equally to the work.

This is a preview of subscription content, access via your institution.

Buying options

USD   29.95
Price excludes VAT (USA)
  • DOI: 10.1007/978-3-030-49536-7_19
  • Chapter length: 9 pages
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
USD   139.00
Price excludes VAT (USA)
  • ISBN: 978-3-030-49536-7
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
Softcover Book
USD   179.99
Price excludes VAT (USA)
Hardcover Book
USD   179.99
Price excludes VAT (USA)
Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5


  1. Chatbot’s definition on Wikipedia.

  2. MacTear, M., Callejas, Z.: The History of Chatbots.

  3. Goebel, T.: Machine Learning or Linguistic Rules: Two Approaches to Building a Chatbot.

  4. Pavel Surmenok, Chatbot Architecture 2016.

  5. Chowdhury, G.G.: Natural language processing. Ann. Rev. Inf. Sci. Technol. 37(1), 51–89 (2003)

    MathSciNet  CrossRef  Google Scholar 

  6. Nhat, M.P.Q.: Overview of natural language processing problems in chatbot system development 2017.

  7. Evgeniou, T., Pontil, M., Support vector machines: theory and applications. In: Advanced Course on Artificial Intelligence, vol. 5, pp. 249–257. Springer, Heidelberg (1999)

    Google Scholar 

  8. Rish, I.: An empirical study of the naive Bayes classifier. In: IJCAI 2001 workshop on empirical methods in artificial intelligence 4 August 2001, vol. 3, no. 22, pp. 41–46 (2001)

    Google Scholar 

  9. McGreal, S., Adair, A., McBurney, D., Patterson, D.: Neural networks: the prediction of residential values. J. Property Valuation Investment 16(1), 57–70 (1998)

    CrossRef  Google Scholar 

  10. Li, S.: Named Entity Recognition and Classification with Scikit-Learn 2018.

  11. Rabiner, L.R., Juang, B.H.: An introduction to hidden Markov models. IEEE ASSP Mag. 3(1), 4–16 (1986)

    CrossRef  Google Scholar 

  12. Berger, A.L., Pietra, V.J., Pietra, S.A.: A maximum entropy approach to natural language processing. Comput. Linguist. 22(1), 39–71 (1996)

    Google Scholar 

  13. Lafferty, J., McCallum, A., Pereira, F.C.N.: Conditional random fields: probabilistic models for segmenting and labeling sequence data (2001)

    Google Scholar 

  14. Jurafsky, D., Martin, J.H.: Dialog systems and chatbots. Speech Lang. Process. 3 (2017)

    Google Scholar 

  15. Robino, G.: Dialogs modeled as finite state machines 2016.

  16. Reiter, E., Dale, R.: Building Natural Language Generation Systems. Cambridge University Press, Cambridge (2000)

    CrossRef  Google Scholar 

  17. Weizenbaum, J.: ELIZA, a computer program for the study of natural language communication between man and machine. Commun. ACM 9(1), 36–45 (1966)

    CrossRef  Google Scholar 

  18. Chamberlain, W.: The Policeman’s Beard is Half Constructed: Computer Prose and Poetry. Warner Books, New York (1984)

    Google Scholar 

  19. Performing Sequence Labelling using CRF in Python, Albert Au Yeung, May 23, 2017.

Download references


We wish to thank Hai Nguyen for his valuable assistance in the technical implementation of the system. We would like to thank reviewers for their insightful comments on the paper, which have improved our manuscript substantially.

Author information

Authors and Affiliations


Corresponding author

Correspondence to Quang H. Nguyen .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and Permissions

Copyright information

© 2021 The Editor(s) (if applicable) and The Author(s), under exclusive license to Springer Nature Switzerland AG

About this chapter

Verify currency and authenticity via CrossMark

Cite this chapter

Cao, TD., Nguyen, Q.H. (2021). An Approach for Building Effective Real Estate Chatbots in Vietnamese. In: Kreinovich, V., Hoang Phuong, N. (eds) Soft Computing for Biomedical Applications and Related Topics. Studies in Computational Intelligence, vol 899. Springer, Cham.

Download citation