Skip to main content

Inferring Context from Users’ Reviews for Context Aware Recommendation

  • Conference paper
  • First Online:

Abstract

Context Aware Recommendation Systems are Recommender Systems that provide recommendations based not only on users and items, but also on other information related to the context. A first challenge in building these systems is to obtain the contextual information. In this paper, we explore how accurate it is possible to infer contextual information from users’ reviews. For this purpose, we use Text Classification techniques and conduct several experiments to identify the appropriate Text Representation settings and classification algorithm to the context inference problem. We carry out our experiments on two datasets containing reviews related to hotels and cars, and aim to infer the contextual information ‘intent of purchase’ from these reviews. To infer context from reviews, we recommend removing terms that occur once in the data set, combining unigrams, bigrams and trigrams, adopting a TFIDF weighting schema and using the Multinomial algorithm rather Naïve Bayes than Support Vector Machines.

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

Buying options

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

Learn about institutional subscriptions

Notes

  1. 1.

    http://www.tripadvisor.com

  2. 2.

    http://www.cars.com

References

  1. Adomavicius, G., Tuzhilin, A.: Context-aware recommender systems. Recommender Systems Handbook. 217–253 (2011).

    Google Scholar 

  2. Dey, A.K.: Understanding and using context. Personal and ubiquitous computing. 5, 4–7 (2001).

    Google Scholar 

  3. Palmisano, C., Tuzhilin, A., Gorgoglione, M.: Using context to improve predictive modeling of customers in personalization applications. Knowledge and Data Engineering, IEEE Transactions on. 20, 1535–1549 (2008).

    Google Scholar 

  4. Pang, B., Lee, L.: Opinion mining and sentiment analysis. Now Publishers Inc. (2008).

    Google Scholar 

  5. Aciar, S.: Mining context information from consumers reviews. Proceedings of Workshop on Context-Aware Recommender System. ACM (2010).

    Google Scholar 

  6. Hariri, N., Mobasher, B., Burke, R., Zheng, Y.: Context-Aware Recommendation Based On Review Mining. Proceedings of the 9th Workshop on Intelligent Techniques for Web Personalization and Recommender Systems (ITWP) (2011).

    Google Scholar 

  7. Li, Y., Nie, J., Zhang, Y., Wang, B., Yan, B., Weng, F.: Contextual recommendation based on text mining. Proceedings of the 23rd International Conference on Computational Linguistics: Posters. pp. 692–700 (2010).

    Google Scholar 

  8. Benbrahim, H., Bramer, M.: Neighbourhood exploitation in hypertext categorization, (2005).

    Google Scholar 

  9. Shannon, E.: A mathematical theory of communication. The Bell System Technical Journal. 27, 379–423 (1948).

    Google Scholar 

  10. Smeaton, A.: Information retrieval: Still butting heads with natural language processing? Information Extraction A Multidisciplinary Approach to an Emerging Information, Technology. 115–138 (1997).

    Google Scholar 

  11. Salton, G., Wong, A., Yang, C.-S.: A vector space model for automatic indexing. Communications of the ACM. 18, 613–620 (1975).

    Google Scholar 

  12. Sebastiani, F.: Machine learning in automated text categorization. ACM computing surveys (CSUR). 34, 1–47 (2002).

    Google Scholar 

  13. McCallum, A., Nigam, K.: Employing EM in pool-based active learning for text classification. Proceedings of ICML-98, 15th International Conference on, Machine Learning. pp. 350–358 (1998).

    Google Scholar 

  14. Hastie, T., Tibshirani, R.: Classification by pairwise coupling. The annals of statistics. 26, 451–471 (1998).

    Google Scholar 

  15. Mitchell, T.: Machine Learning. McCraw Hill. (1996).

    Google Scholar 

  16. Witten, I.H., Frank, E.: Data Mining: Practical machine learning tools and techniques. Morgan Kaufmann (2005).

    Google Scholar 

  17. Wu, Y., Liu, Y.: Robust truncated hinge loss support vector machines. Journal of the American Statistical Association. 102, 974–983 (2007).

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to F. Z. Lahlou .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Springer International Publishing Switzerland

About this paper

Cite this paper

Lahlou, F.Z., Benbrahim, H., Mountassir, A., Kassou, I. (2013). Inferring Context from Users’ Reviews for Context Aware Recommendation. In: Bramer, M., Petridis, M. (eds) Research and Development in Intelligent Systems XXX. SGAI 2013. Springer, Cham. https://doi.org/10.1007/978-3-319-02621-3_16

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-02621-3_16

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-02620-6

  • Online ISBN: 978-3-319-02621-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics