How to Split the Paragraph into lines using Python in Tamil || Sentence Splitter

Published: 17 March 2018
on channel: Think And Link
2,982
6

Welcome To Think And Link Youtube Channel.In this video we will learn How to Split the Paragraph into lines using Python in Tamil || Sentence Splitter.
Splitting a Sentence into Words: .split()

Below, mary is a single string. Even though it is a sentence, the words are not represented as discreet units. For that, you need a different data type: a list of strings where each string corresponds to a word. .split() is the method to use:

mary = 'Mary had a little lamb'
mary.split()
['Mary', 'had', 'a', 'little', 'lamb']
.split() splits mary on whitespce, and the returned result is a list of words in mary. This list contains 5 items as the len() function demonstrates. len() on mary, by contrast, returns the number of characters in the string (including the spaces).

mwords = mary.split()
mwords
['Mary', 'had', 'a', 'little', 'lamb']
╔═╦╗╔═╦═╦═╦═╗ ╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
║║║║║═╣║║╚╣═╣ ║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
║╔╣╚╣═╣╦╠╗║═╣ ╠╗║╚╝║║╠╗║╚╣║║║║║═╣
╚╝╚═╩═╩╩╩═╩═╝ ╚═╩══╩═╩═╩═╩╝╚╩═╩═╝
========================= Subscribe =========================

Subscribe for more :    / @thinkandlink848  
I hope this video has been helpful..so please do subscribe our Think And Link Youtube channel and like this video and share with your friends.

========================= Follow me =========================

Facebook :   / smartviewlook  
Blogger : https://smartviewway.blogspot.com
Twitter :   / earacutti  
Googleplus : https://plus.google.com/u/0/102893391...
Youtube :    / @thinkandlink848  
Instagram :   / earacutti  

***************************************************************************************************

I hope you like this video please do not forget to subscribe our Think And Link youtube channel for more videos..Thank you!
Keywords:
How to Split the Paragraph into lines using Python in Tamil || Sentence Splitter,python split word,python split text by paragraph,python read file by paragraph,split paragraph into sentences python,python explode string,python split text into paragraphs,how to split lines in python,python split file by paragraph in tamil.


Watch video How to Split the Paragraph into lines using Python in Tamil || Sentence Splitter online, duration hours minute second in high quality that is uploaded to the channel Think And Link 17 March 2018. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 2,982 times and liked it 6 visitors.