The following  function used regular expression to remove the suffix from the words: def stem (word) regexp = r'^(.*?)(ing|ly | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
- 2

The following  function used regular expression to remove the suffix from the words: def stem (word) regexp = r'^(.*?)(ing|ly

applies on python 4

6th Dec 2018, 6:30 AM
zahra mohamed
1 Réponse
0
can you explain in better way
20th Jul 2019, 5:26 AM
Wazahat Hussain
Wazahat Hussain - avatar