Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Tagged as

Sentences to line with StreamReader txt to txt ?

, 8 Nov 2012 CPOL
hi!you can read all text from the file and split it to sentences using String.Split method. like this:foreach(string sentence in System.IO.File.ReadAllText(d).Split(new char[]{'.',',','!','?',';'}) { if (!lst.Contains(sentence )) { ...



Compare Revision Minor Date Status Editor
3 - publicly available No 9-Nov-12 3:59 Available Nelek
Updates in content. 26 changes had been made.
2 No 9-Nov-12 3:44 Available mehrdad_safa
Updates in content.
1 No 9-Nov-12 3:41 Available mehrdad_safa


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author


United States United States
No Biography provided

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.141220.1 | Last Updated 9 Nov 2012
Article Copyright 2012 by mehrdad_safa
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid