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!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
- 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 ответ
0
can you explain in better way
20th Jul 2019, 5:26 AM
Wazahat Hussain
Wazahat Hussain - avatar