TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
ahmad sawalha
NA
41
2.6k
stop words removal and rooting
Jul 14 2015 7:23 AM
I have thousands of files, I need to remove all stop words, and get each words' Root. I have this code, but it is very slow, how to speed up my code to get this on the fly? thanks
for (int i = 0; i < Terms.Count(); i++)
{
Terms[i] = RemovePuctuations(Terms[i]);
Terms[i] = RemoveDiacrities(Terms[i]);
if (!IsArabicWord(Terms[i]))
{
Terms[i] = " ";
continue;
}
stemmer.initComponents();
Terms[i] = stemmer.stemWord(Terms[i]);
if (StopWordsBLL.StopWords.Contains(Terms[i]))
Terms[i] = " ";
}
Reply
Answers (
0
)
How to i post headers and xml body to webservice in c#
How to add condition in regex.