public string[] GetWords() { //ReadWriter ReadWriter = new ReadWriter(); var CleanedTextOnlyWords = Regex.Replace(ReadWriter.ReadAndCleanText(), pattern6, String.Empty); string[] SplitTextWord = new Regex(pattern4).Split(CleanedTextOnlyWords); CleanedTextOnlyWords1 = CleanedTextOnlyWords; return(SplitTextWord); }
public string[] GetPunctMarks() { //ReadWriter ReadWriter = new ReadWriter(); string[] SplitPunctMarks = new Regex(pattern5).Split(ReadWriter.ReadAndCleanText()); return(SplitPunctMarks); }
public string[] GetSentence() { //ReadWriter ReadWriter = new ReadWriter(); string[] SplitTextSentence = new Regex(pattern3).Split(ReadWriter.ReadAndCleanText()); return(SplitTextSentence); }