I have two string arrays i.e.
string[] text = {"Paragraph 1 containing long text of ten to 20 lines", "Paragraph 2 containing long text of ten to 20 lines", "Paragraph 3 containing long text of ten to 20 lines",.....};
and another array of stop words i.e.
string[] stop_words = File.ReadAllLines(@"C:\stopWords.txt");
string[] text
array is containing paragraphs of text and string[] stop_words
array consists stop words to be removed from all the texts stored in
string[] text
array
How the stop words can be removed using c#. Code suggestions will be highly appreciated.
Thanks
Try like this:
or else you can try using for loop