CommencerCommencer gratuitement

Sélecteur bag-of-words

Il est temps de vérifier rapidement votre compréhension du bag-of-words. Parmi les options ci-dessous, avec une tokenisation nltk de base, lesquelles correspondent au bag-of-words pour le texte suivant ?

"The cat is in the box. The cat box."

Cet exercice fait partie du cours

Introduction au Natural Language Processing (NLP) en Python

Afficher le cours

Exercice interactif pratique

Passez de la théorie à la pratique avec l’un de nos exercices interactifs

Commencer l’exercice