parsingrules

parsingrules - <space> is a separating character and...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Here are some comments on what constitutes a "word" during parsing, i.e., how to decide where words start and end. From emails exchanged with a student. On Sat, 8 Oct 2005 xxx wrote: > hi, Professor Suel > i have a question on stemming. you wrote "you do not have to apply > stemming for english language pages", what do you mean? Do you mean > that I don't have to stem "eating" to "eat", "apples" to "apple"? > But for some words like "--end", "to:",..., I think I can stem them to > "end", "to",..., with few lines of code. I would say no stemming. Keep it simple. So "eating" stays "eating" and "eat" stays "eat" The issue of "--end" and "to:" has nothing to do with stemming. It just means that you need to make a good decision about what is a word, and what is a "separating character" that marks the beginning or end of a word. For example,
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: <space> is a separating character, and also "," or "." or ":" or "(" or ")" or "-" or many more. Decide if you should index words that include numbers, like smith007 or 7up or 7865 (I think you should). Make up reasonable rules, but the details are up to you. So "--end" should become "end" and "to:" should become "to", since "-" and ":" are separating characters.- Torsten On Sat, 8 Oct 2005 xxx wrote: > you say it is recommended to keep all stop words, so you mean I > should also store the meaningless "words" like ".", "2", "=", > "3.x",. ..? "." and "=" are not words, but separating characters. "2" is a word, and "3.x" has two words, "3" and "x". Basically, anything between separating characters is a word, unless it is within an HTML tag....
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern