Removal.py 661 Bytes
Newer Older
Sartika Aritonang committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
from Sastrawi.Stemmer.Context.RemovalInterface import RemovalInterface

class Removal(object):
    """description of class"""

    def __init__(self, visitor, subject, result, removedPart, affixType):
        self.visitor = visitor
        self.subject = subject
        self.result = result
        self.removedPart = removedPart
        self.affixType = affixType

    def get_visitor(self):
        return self.visitor

    def get_subject(self):
        return self.subject

    def get_result(self):
        return self.result

    def get_removed_part(self):
        return self.removedPart

    def get_affix_type(self):
        return self.affixType