22.01.2013 Views

Development of a Stemmer for the Greek Language - SAIS

Development of a Stemmer for the Greek Language - SAIS

Development of a Stemmer for the Greek Language - SAIS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The rule doesn’t affect one group <strong>of</strong> words that by chance have similar suffixes.<br />

Example:<br />

ΜΕ∆ΟΥΣΑ ΜΕ∆ΟΥΣ<br />

ΜΕ∆ΟΥΣΕΣ ΒΕΝΕΤ<br />

Rule-set 15<br />

if (word ends on ΑΓΑ|ΑΓΕΣ|ΑΓΕ){<br />

remove <strong>the</strong> suffix;<br />

if ((remaining part is ΑΒΑΣΤ|ΠΟΛΥΦ|Α∆ΗΦ…) ||<br />

(remaining part ends on ΟΦ|ΠΕΛ|ΧΟΡΤ…)) && !((remaining<br />

part is ΨΟΦ|ΝΑΥΛΟΧ)<br />

|| (remaining part ends on ΚΟΛΛ)) {<br />

add “ΑΓ”;<br />

}<br />

}<br />

The rule removes <strong>the</strong> suffix ΑΓΑ, ΑΓΕΣ and ΑΓΕ <strong>for</strong> a group <strong>of</strong> words.<br />

Example:<br />

ΚΟΛΛΑΩ ΚΟΛΛ<br />

ΚΟΛΛΑΓΕΣ ΚΟΛΛ<br />

The rule doesn’t affect one group <strong>of</strong> words that by chance have similar suffixes.<br />

Example:<br />

ΑΒΑΣΤΑΓΟ ΑΒΑΣΤ<br />

ΑΒΑΣΤΑΓΑ ΑΒΑΣΤ<br />

Rule-set 16<br />

if (word ends on ΗΣΕ|ΗΣΟΥ|ΗΣΑ){<br />

remove <strong>the</strong> suffix;<br />

if (remaining part is Ν|ΧΕΡΣΟΝ|∆Ω∆ΕΚΑΝ…){<br />

add “ΗΣ”;<br />

}<br />

}<br />

The rule removes <strong>the</strong> suffix ΗΣΕ, ΗΣΟΥ and ΗΣΑ <strong>for</strong> a group <strong>of</strong> words.<br />

Example:<br />

ΑΓΑΠΩ ΑΓΑΠ<br />

ΑΓΑΠΗΣΕ ΑΓΑΠ<br />

27

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!