Commit b82b4876 by Sartika Aritonang

Upload New File

parent 9df742fe
import re
class DisambiguatorPrefixRule41(object):
"""Disambiguate Prefix Rule 41
Rule 41 : kuA -> ku-A
"""
def disambiguate(self, word):
"""Disambiguate Prefix Rule 41
Rule 41 : kuA -> ku-A
"""
matches = re.match(r'^ku(.*)$', 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