Split Function in Python| Extract particular word from text in python| Seperate sentence into words

preview_player
Показать описание
The split function is used to split sentence into words.
For more details watch video.
#python
#pythonprogramming
#splitfunction
Рекомендации по теме
Комментарии
Автор

Thank you! What if we use regex here, is that good approach?

kzhonxv
Автор

that's the thing i had been finding

kunikakhobragade
Автор

Thanks for the video. One question; can this function be applied to a column in a pandas dataframe? Thank you.

ikennanwankpa
Автор

how you can split the word "GOOD" in the same program

mohanagrawal
Автор

Hi Ma'am,
great video..
I have few questions regarding the topic you have explained in this video.
If there is a script of conversation between different characters which is in text file, then
Using text file handling and string manipulation in python:
1) How can I find the number of unique speaker and list of all speaker present in file and also want separate file for each speaker.
2) I want to find the list of all unique words spoken by each unique speaker in new line and want to save these words in respective speaker's file .
3) how to remove all punctuations.

If I will get the answer it will be great help.
Thanks in advance....

reviewguru
Автор

I am not able to use split inside a function, why

datasciencegyan