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

Tagged as

Go to top

Sentences to line with StreamReader txt to txt ?

, 8 Nov 2012
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 )) { ...

Revisions


  

Compare Revision Minor Date Status Editor
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

License

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

Share

About the Author

mehrdad_safa

United States United States
No Biography provided

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