Commit 3a38b44d by Sartika Aritonang

Upload New File

parent b82b4876
import re
class DisambiguatorPrefixRule42(object):
"""Disambiguate Prefix Rule 42
Rule 42 : kauA -> kau-A
"""
def disambiguate(self, word):
"""Disambiguate Prefix Rule 42
Rule 42 : kauA -> kau-A
"""
matches = re.match(r'^kau(.*)$', word)
if matches:
return matches.group(1)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment