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!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
- 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 Antwort
0
can you explain in better way
20th Jul 2019, 5:26 AM
Wazahat Hussain
Wazahat Hussain - avatar