The Role of Artificial Intelligence in Self-Study: A Case Study of Duolingo