16 lines
478 B
Python
16 lines
478 B
Python
|
from bot.yomichan.grammar import sudachi_rules
|
||
|
from bot.yomichan.glossary.jitenon import JitenonKokugoGlossary
|
||
|
from bot.yomichan.terms.base.jitenon import JitenonTerminator
|
||
|
|
||
|
|
||
|
class Terminator(JitenonTerminator):
|
||
|
def __init__(self, target):
|
||
|
super().__init__(target)
|
||
|
self._glossary_maker = JitenonKokugoGlossary()
|
||
|
|
||
|
def _inflection_rules(self, entry, expression):
|
||
|
return sudachi_rules(expression)
|
||
|
|
||
|
def _term_tags(self, entry):
|
||
|
return ""
|