module QT::TlRule

Extended Modules

Defined in:

core/mt_core/tl_rule.cr
core/mt_core/tl_rule/_base_rules.cr
core/mt_core/tl_rule/adjt_rules/fold_adjt_adv_bu.cr
core/mt_core/tl_rule/adjt_rules/fold_adjt_noun.cr
core/mt_core/tl_rule/adjt_rules/fold_adjt_ude2.cr
core/mt_core/tl_rule/adjt_rules/fold_adjts.cr
core/mt_core/tl_rule/adjt_rules/scan_adjt.cr
core/mt_core/tl_rule/compare_rules/fold_compare.cr
core/mt_core/tl_rule/compare_rules/fold_compare_bi3.cr
core/mt_core/tl_rule/compare_rules/fold_compare_vyou.cr
core/mt_core/tl_rule/fold_left/fold_postpos.cr
core/mt_core/tl_rule/funcws_rules/fold_adverb_node.cr
core/mt_core/tl_rule/funcws_rules/fold_adverbs.cr
core/mt_core/tl_rule/funcws_rules/fold_onomat.cr
core/mt_core/tl_rule/funcws_rules/junction_rules.cr
core/mt_core/tl_rule/mixed_rules/fold_mixed.cr
core/mt_core/tl_rule/mixed_rules/heal_mixed.cr
core/mt_core/tl_rule/noun_rules/fold_noun_adjt.cr
core/mt_core/tl_rule/noun_rules/fold_noun_after.cr
core/mt_core/tl_rule/noun_rules/fold_noun_left.cr
core/mt_core/tl_rule/noun_rules/fold_noun_noun.cr
core/mt_core/tl_rule/noun_rules/fold_noun_verb.cr
core/mt_core/tl_rule/noun_rules/fold_nouns.cr
core/mt_core/tl_rule/noun_rules/fold_spaces.cr
core/mt_core/tl_rule/noun_rules/noun_enum.cr
core/mt_core/tl_rule/noun_rules/scan_nouns.cr
core/mt_core/tl_rule/number_rules/fold_numbers.cr
core/mt_core/tl_rule/number_rules/ndigit_rules.cr
core/mt_core/tl_rule/number_rules/nhanzi_rules.cr
core/mt_core/tl_rule/number_rules/nquant_rules.cr
core/mt_core/tl_rule/number_rules/quanti_rules.cr
core/mt_core/tl_rule/particles_rules/fold_auxils.cr
core/mt_core/tl_rule/particles_rules/fold_ude1.cr
core/mt_core/tl_rule/particles_rules/fold_ude3.cr
core/mt_core/tl_rule/particles_rules/fold_usou.cr
core/mt_core/tl_rule/particles_rules/fold_uzhi.cr
core/mt_core/tl_rule/particles_rules/ude1_rules/fold_noun_ude1.cr
core/mt_core/tl_rule/particles_rules/ude1_rules/fold_verb_ude1.cr
core/mt_core/tl_rule/prepos_rules/fold_pre_ba3.cr
core/mt_core/tl_rule/prepos_rules/fold_prepos_inner.cr
core/mt_core/tl_rule/prepos_rules/fold_preposes.cr
core/mt_core/tl_rule/pronoun_rules/fold_prodem_nounish.cr
core/mt_core/tl_rule/pronoun_rules/fold_prodems.cr
core/mt_core/tl_rule/pronoun_rules/fold_proints.cr
core/mt_core/tl_rule/pronoun_rules/fold_pronouns.cr
core/mt_core/tl_rule/pronoun_rules/fold_propers.cr
core/mt_core/tl_rule/punct_rules/fold_nested.cr
core/mt_core/tl_rule/special_rules/fold_special.cr
core/mt_core/tl_rule/special_rules/fold_vshi.cr
core/mt_core/tl_rule/special_rules/第_rules.cr
core/mt_core/tl_rule/string_rules/fold_litstr.cr
core/mt_core/tl_rule/string_rules/fold_string.cr
core/mt_core/tl_rule/string_rules/fold_urlstr.cr
core/mt_core/tl_rule/timeword_rules/fold_timeword.cr
core/mt_core/tl_rule/verb_rules/fold_verb_advbu.cr
core/mt_core/tl_rule/verb_rules/fold_verb_auxils.cr
core/mt_core/tl_rule/verb_rules/fold_verb_compls.cr
core/mt_core/tl_rule/verb_rules/fold_verb_nquant.cr
core/mt_core/tl_rule/verb_rules/fold_verb_object.cr
core/mt_core/tl_rule/verb_rules/fold_verb_uzhe.cr
core/mt_core/tl_rule/verb_rules/fold_verb_vdirs.cr
core/mt_core/tl_rule/verb_rules/fold_verb_verb.cr
core/mt_core/tl_rule/verb_rules/fold_verbs.cr
core/mt_core/tl_rule/verb_rules/fold_vmodals.cr
core/mt_core/tl_rule/verb_rules/misc_verb_rules.cr
core/mt_core/tl_rule/verb_rules/scan_verbs.cr

Constant Summary

BA3_HANDLERS = {'剑', '刀', '枪'}
BA3_IN_HANDS = {'米', '花', '盐', '糖', '麦', '谷'}
MAP_上 = {"lên", "trên", "thượng"}
MAP_下 = {"xuống", "dưới", "hạ"}
MEASURES = {"宽" => "rộng", "高" => "cao", "长" => "dài", "远" => "xa", "重" => "nặng"}
PRE_NUM_APPROS = {"近" => "gần", "约" => "chừng", "小于" => "ít hơn"}
QUANTI_PRE_APPRO = {"多" => "hơn", "来" => "chừng", "余" => "trên", "几" => "mấy"}
QUANTI_SUF_APPRO = {"宽" => "rộng", "高" => "cao", "长" => "dài", "远" => "xa", "重" => "nặng", "多" => "hơn", "来" => "chừng", "左右" => "khoảng", "前后" => "khoảng", "上下" => "khoảng", "间" => "khoảng", "后间" => "khoảng", "后" => "sau", "之后" => "sau", "时" => "lúc", "之时" => "lúc", "上" => "trên", "之上" => "trên", "下" => "dưới", "之下" => "dưới", "前" => "trước", "之前" => "trước", "里" => "trong", "内" => "trong", "中" => "trong", "后内" => "trong", "后中" => "trong"}
SUFFIXES = {"的日子" => {"thời gian", PosTag::Ntime, true}, "的时候" => {"lúc", PosTag::Postpos, true}, "时" => {"khi", PosTag::Postpos, true}, "们" => {"các", PosTag::Noun, true}, "语" => {"tiếng", PosTag::Nother, true}, "性" => {"tính", PosTag::Ajno, true}, "所" => {"nơi", PosTag::Posit, true}, "界" => {"giới", PosTag::Posit, false}, "化" => {"hoá", PosTag::Verb, false}, "级" => {"cấp", PosTag::Nattr, true}, "型" => {"hình", PosTag::Nattr, true}, "状" => {"dạng", PosTag::Nattr, true}, "色" => {"màu", PosTag::Nattr, true}}
VERB_COMBINE = {"爱", "喜欢", "避免", "忍不住"}

Instance Method Summary

Instance Method Detail

def boundary?(node : Nil) #

[View source]
def boundary?(node : MtNode) #

[View source]
def can_combine_adjt?(left : MtNode, right : MtNode | Nil) #

[View source]
def can_combine_verb_verb?(verb : MtNode, verb_2 : MtNode) #

[View source]
def clean_nquant(nquant : MtNode, prodem : MtNode | Nil) #

[View source]
def clean_个!(node : MtNode) : MtNode #

[View source]
def concoord_is_prepos?(node : MtNode | Nil) #

[View source]
def deep_clean_个!(node : MtNode) : Nil #

[View source]
def do_not_flip?(key : String) #

[View source]
def end_sentence?(node : Nil) #

[View source]
def end_sentence?(node : MtNode) #

[View source]
def exact_year?(node : MtNode, appro : Int32 = 0) : Bool #

[View source]
def find_verb_after(right : MtNode) #

[View source]
def find_verb_after_for_prepos(node : MtNode, skip_comma = true) : MtNode | Nil #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def fix_adverb!(node : MtNode, succ = node.succ) : Tuple(MtNode, MtNode | Nil) #

[View source]
def fix_grammar!(node : MtNode) : Nil #

[View source]
def fix_space_val!(node : MtNode) #

[View source]
def fix_上下(node : MtNode, vals = node.key == "上" ? MAP_上 : MAP_下) : MtNode #

[View source]
def flip_proper_noun?(proper : MtNode, noun : MtNode) : Bool #

[View source]
def fold!(head : MtNode, tail : MtNode, tag : PosTag = PosTag::Unkn, dic : Int32 = 9, flip : Bool = false) #

[View source]
def fold_adj_adv!(node : MtNode, prev = node.prev?) #

[View source]
def fold_adjt_adv_bu!(adjt : MtNode, adv : MtNode, prev : MtNode | Nil) #

[View source]
def fold_adjt_as_noun!(node : MtNode) #

[View source]
def fold_adjt_hao!(node : MtNode) : MtNode #

[View source]
def fold_adjt_junction!(node : MtNode, prev = node.prev?, succ = node.succ?) #

[View source]
def fold_adjt_measure(adjt : MtTerm, succ = adjt.succ?) #

[View source]
def fold_adjt_noun!(adjt : MtNode, noun : MtNode | Nil, ude1 : MtNode | Nil = nil) #

[View source]
def fold_adjt_ude2!(adjt : MtNode, ude2 : MtNode) #

[View source]
def fold_adjts!(adjt : MtNode, prev : MtNode | Nil = nil) : MtNode #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def fold_adv_bu!(node : MtNode, succ = node.succ) : MtNode #

[View source]
def fold_adv_fei!(node : MtNode, succ = node.succ) : MtNode #

[View source]
def fold_adv_mei!(node : MtNode, succ = node.succ) : MtNode #

[View source]
def fold_adverb_base!(node : MtNode, succ = node.succ) : MtNode #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def fold_adverb_node!(adv : MtNode, node = adv.succ, tag = node.tag, dic = 4) : MtNode #

[View source]
def fold_adverb_ude3!(node : MtNode, succ : MtNode) : MtNode #

[View source]
def fold_adverb_verb!(adverb : MtNode, verb : MtNode) #

[View source]
def fold_adverbs!(node : MtNode, succ = node.succ?) : MtNode #

[View source]
def fold_auxils!(node : MtNode, mode = 1) : MtNode #

[View source]
def fold_compare(head : MtNode, tail : MtNode, head_val = head.val) #

[View source]
def fold_compare_bi3!(prepos : MtNode, succ = prepos.succ?, mode = 0) #

[View source]
def fold_compare_bi3_after!(node : MtNode, last : MtNode) #

[View source]
def fold_compare_vyou!(vyou : MtNode, noun : MtNode, tail : MtNode) #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def fold_day?(num : MtNode | Nil) : MtNode | Nil #

[View source]
def fold_head_ude1_noun!(head : MtNode) #

[View source]
def fold_hour!(node : MtNode, succ : MtNode, appro : Int32 = 0) #

[View source]
def fold_left!(right : MtNode, left : MtNode) : MtNode | Nil #

[View source]
def fold_left_verb!(node : MtNode, prev : MtNode | Nil) #

[View source]
def fold_list!(head : MtNode, tail : MtNode | Nil = nil) : Nil #

[View source]
def fold_litstr!(root : MtNode) : MtNode #

[View source]
def fold_minute!(node : MtNode, succ : MtNode, appro : Int32 = 0) #

[View source]
def fold_mixed!(node, prev = node.prev?, succ = node.succ?) #

[View source]
def fold_modifier!(node : MtNode, succ = node.succ?, nega : MtNode | Nil = nil) #

[View source]
def fold_month!(prev : MtNode, node : MtNode, appro : Int32 = 0) #

[View source]
def fold_ndigit!(node : MtNode, prev : MtNode | Nil = nil) #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def fold_ndigit_nhanzi!(node : MtNode, succ : MtNode) : MtNode #

[View source]
def fold_nested!(head : MtNode, tail : MtNode) #

[View source]
def fold_nhanzi!(node : MtNode, prev : MtNode | Nil = nil) : MtNode #

[View source]
def fold_nhanzi_dian!(node : MtNode, succ : MtNode, prev : MtNode | Nil) : MtNode #

[View source]
def fold_noun_adjt!(noun : MtNode, adjt : MtNode) #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def fold_noun_after!(noun : MtNode, succ = noun.succ?) : MtNode #

[View source]
def fold_noun_concoord!(node : MtNode, prev = node.prev?, succ = node.succ?) #

[View source]
def fold_noun_noun!(node : MtNode, succ : MtNode, mode = 0) #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def fold_noun_penum!(head : MtNode, join : MtNode) #

[View source]
def fold_noun_space!(noun : MtNode, space : MtNode) : MtNode #

[View source]
def fold_noun_space!(noun : MtNode) : MtNode #

[View source]
def fold_noun_ude1!(noun : MtNode, ude1 : MtNode, right : MtNode, mode = 0) : MtNode #

[View source]
def fold_noun_verb!(noun : MtNode, verb : MtNode) #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def fold_nouns!(noun : MtNode, mode : Int32 = 0) : MtNode #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def fold_nquant_noun!(prev : MtNode, node : MtNode) #

[View source]
def fold_number!(node : MtNode, prev : MtNode | Nil = nil) #

[View source]
def fold_number_hour!(node : MtNode, succ : MtNode) : MtNode #

[View source]
def fold_number_minute!(node : MtNode, succ : MtNode, is_time = false) : MtNode #

[View source]
def fold_once!(node : MtNode) : MtNode #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def fold_onomat!(node : MtNode, succ = node.succ?) #

[View source]
def fold_other_preposes!(node : MtNode, succ : MtNode, mode : Int32) #

[View source]
def fold_postpos!(postpos : MtList, left : MtNode) : MtList | Nil #

[View source]
def fold_pre_ba3!(node : MtNode, succ = node.succ?, mode = 0) : MtNode #

[View source]
def fold_pre_bei!(node : MtNode, succ = node.succ?, mode = 0) : MtNode #

[View source]
def fold_pre_dui!(node : MtNode, succ = node.succ?, mode = 0) : MtNode #

[View source]
def fold_pre_quanti_appro!(node : MtNode, succ : MtNode) : Tuple(MtNode, Int32) #

[View source]
def fold_pre_zai!(node : MtNode, succ = node.succ?, mode = 0) : MtNode #

[View source]
def fold_prepos_inner!(prepos : MtNode, succ = prepos.succ?, mode = 0) : MtNode #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def fold_prepos_left(prepos : MtNode, noun : MtNode, ude1 : MtNode, tail : MtNode) #

[View source]
def fold_preposes!(node : MtNode, succ = node.succ?, mode = 0) : MtNode #

[View source]
def fold_prezai_places?(node : MtNode, noun : MtNode, ude1 : MtNode, tail : MtNode) : MtNode | Nil #

[View source]
def fold_pro_dems!(node : MtNode, succ : MtNode) : MtNode #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def fold_pro_ints!(proint : MtNode, succ = node.succ?) #

[View source]
def fold_pro_per!(node : MtNode, succ : Nil) : MtNode #

[View source]
def fold_pro_per!(proper : MtNode, succ : MtNode) : MtNode #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def fold_prodem_nominal!(prodem : MtNode | Nil, nominal : MtNode | Nil) #

[View source]
def fold_proji_nhanzi!(node : MtNode, succ : MtNode) #

[View source]
def fold_proji_right!(node : MtNode) #

[View source]
def fold_pronouns!(pronoun : MtNode, succ = pronoun.succ?) : MtNode #

[View source]
def fold_proper_nominal!(proper : MtNode, nominal : MtNode) : MtNode #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def fold_space!(node : MtNode) : MtNode #

[View source]
def fold_specials!(node : MtNode) #

[View source]
def fold_strings!(node : MtNode) : MtNode #

[View source]
def fold_suf_quanti_appro!(node : MtNode, succ = node.succ?) : MtNode #

[View source]
def fold_suffix!(suff : MtTerm, left : MtNode) : MtList | Nil #

[View source]
def fold_time_appro!(node : MtNode) #

[View source]
def fold_time_prev!(node : MtNode, prev : MtNode) : MtNode #

[View source]
def fold_timeword!(node : MtNode, succ = node.succ?) : MtNode #

[View source]
def fold_ude1!(ude1 : MtNode, prev = ude1.prev?, succ = ude1.succ?) : MtNode #

do not return left when fail to prevent infinity loop!


[View source]
def fold_ude1_left!(ude1 : MtNode, left : MtNode, right : MtNode | Nil) : MtNode #

do not return left when fail to prevent infinity loop


[View source]
def fold_uniqs_by_key!(node : MtNode, succ = node.succ?) #

[View source]
def fold_urlstr!(root : MtNode) : MtNode #

[View source]
def fold_usuo!(usuo : MtNode, succ = usuo.succ?) #

[View source]
def fold_uzhi!(uzhi : MtNode, prev : MtNode = uzhi.prev, succ = uzhi.succ?) : MtNode #

[View source]
def fold_v_shi!(vshi : MtNode, succ = vshi.succ?) #

[View source]
def fold_verb_advbu!(verb : MtNode, adv_bu : MtNode, succ = adv_bu.succ?) : MtNode #

[View source]
def fold_verb_advbu_verb!(verb : MtNode, adv_bu : MtNode, verb_2 : MtNode) #

[View source]
def fold_verb_as_noun!(node : MtNode, mode = 0) #

[View source]
def fold_verb_auxils!(verb : MtNode, auxil : MtNode) : MtNode #

[View source]
def fold_verb_compare(head : MtNode) : MtNode | Nil #

[View source]
def fold_verb_compl!(verb : MtNode, compl : MtNode) : MtNode | Nil #

[View source]
def fold_verb_junction!(junc : MtNode, verb = junc.prev, succ = junc.succ?) #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def fold_verb_nquant!(verb : MtNode, tail : MtNode, has_ule = false) #

[View source]
def fold_verb_object!(verb : MtNode, succ : MtNode | Nil) #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def fold_verb_ude1!(verb : MtNode, ude1 : MtNode, right : MtNode, mode = 0) #

[View source]
def fold_verb_ude1!(node : MtNode, succ = node.succ?) #

[View source]
def fold_verb_ude3!(node : MtNode, succ : MtNode) : MtNode #

[View source]
def fold_verb_ule!(verb : MtNode, node : MtNode, succ = node.succ?) #

[View source]
def fold_verb_uzhe!(prev : MtNode, uzhe : MtNode, succ = uzhe.succ?) : MtNode #

[View source]
def fold_verb_vdirs!(verb : MtNode, vdir : MtNode) : MtNode #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def fold_verb_verb!(verb_1 : MtNode, verb_2 : MtNode) : MtNode #

[View source]
def fold_verbs!(verb : MtNode, prev : MtNode | Nil = nil) : MtNode #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def fold_vmodals!(node : MtNode, succ = node.succ?, nega : MtNode | Nil = nil) : MtNode #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def fold_vyou!(vyou : MtNode, succ : MtNode) #

[View source]
def fold_vyou_ude1!(vyou : MtNode, ude1 : MtNode, noun : MtNode) #

[View source]
def fold_year!(prev : MtNode, node : MtNode, appro : Int32 = 0) #

[View source]
def fold_yi_verb!(node : MtNode, succ : MtNode) #

[View source]
def fold_什么_noun!(prev : MtNode, node : MtNode) #

[View source]
def fold_第!(node : MtNode) #

[View source]
def fuse_number!(node : MtNode, prev : MtNode | Nil = nil) : MtNode #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def guess_nested_tag(head : MtNode, tail : MtNode) #

[View source]
def guess_pre_ba3_defn(noun : MtTerm) : String | Nil #

[View source]
def guess_pre_ba3_defn(noun : MtNode) : String | Nil #

[View source]
def guess_quoted_tag(head : MtNode, tail : MtNode) #

[View source]
def has_verb_after?(right : MtNode) : Bool #

[View source]
def he2_is_prepos?(node : MtNode, succ = node.succ?) : Bool #

[View source]
def heal_adj_hao!(node : MtNode) #

[View source]
def heal_ajad!(node : MtNode, prev : MtNode | Nil, succ : MtNode | Nil) : MtNode #

[View source]
def heal_ajno!(node : MtNode, prev : MtNode | Nil, succ : MtNode | Nil) : MtNode #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def heal_has_ge4!(node : MtNode) #

[View source]
def heal_mixed!(node : MtNode, prev = node.prev, succ = node.succ?) #

[View source]
def heal_pro_dem!(pro_dem : MtNode) : MtNode #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def heal_quanti!(node : MtNode) : MtNode #

[View source]
def heal_ude2!(node : MtNode) : MtNode #

[View source]
def heal_ude3!(node : MtNode, succ = node.succ?) : MtNode #

[View source]
def heal_ule!(node : MtNode, prev = node.prev?, succ = node.succ?) : MtNode #

[View source]
def heal_vead!(node : MtTerm, prev : MtNode | Nil, succ : MtNode | Nil) : MtTerm #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def heal_veno!(node : MtTerm, prev : MtNode | Nil, succ : MtNode | Nil) : MtTerm #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def heal_vm_hui!(node : MtNode, succ = node.succ?, prev = node.prev?) : MtNode #

[View source]
def heal_vm_xiang!(node : MtNode, succ = node.succ?, nega : MtNode | Nil = nil) : MtNode #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def is_adverb?(node : MtNode) : Bool #

[View source]
def is_concoord?(node : Nil) #

[View source]
def is_concoord?(node : MtNode) #

[View source]
def is_linking_verb?(head : MtNode, succ : MtNode | Nil) : Bool #

[View source]
def is_percent?(prev : MtNode, uzhi : MtNode) #

[View source]
def is_pre_appro_num?(prev : MtNode | Nil) #

[View source]
def is_pre_quanti_appro?(node : MtNode) #

[View source]
def keep_pure_numeral?(node : MtNode | Nil) : Bool | MtNode #

[View source]
def keep_ule?(prev : MtNode, node : MtNode, succ = node.succ?) : Bool #

[View source]
def map_closer_char(char : Char) #

[View source]
def map_nqtype(node : MtNode) #

[View source]
def map_pro_dem!(key : String) : Tuple(PosTag, String) #

[View source]
def meld_number!(node : MtNode) #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def need_2_objects?(node : MtList) #

[View source]
def need_2_objects?(node : MtTerm) #

[View source]
def need_2_objects?(key : String) #

[View source]
def not_quanti?(node : MtNode) #

[View source]
def noun_can_combine?(prev : MtNode | Nil, succ : MtNode | Nil) : Bool #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def pre_ba3_is_qtnoun?(node : MtNode, succ = node.succ?) #

[View source]
def prodem_shoud_split?(node : MtNode) #

[View source]
def read_minute_quanti?(node : MtNode | Nil) : MtTerm | Nil #

[View source]
def read_second_quanti?(node : MtNode | Nil) : MtTerm | Nil #

[View source]
def scan_adjt!(node : MtNode | Nil) : MtNode | Nil #

[View source]
def scan_noun!(node : MtNode | Nil, mode : Int32 = 0, prodem : MtNode | Nil = nil, nquant : MtNode | Nil = nil) #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def scan_verb!(node : MtNode) #

[View source]
def scan_verbs!(node : MtNode) #

[View source]
def should_apply_ude1_after_verb?(verb : MtNode, right : MtNode | Nil, prev = verb.prev?) #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def should_flip_prodem?(prodem : MtNode) #

[View source]
def should_fold_noun_concoord?(noun : MtNode, concoord : MtNode) : Bool #

[View source]
def similar_tag?(left : MtNode, right : MtNode) #

[View source]
def split_prodem!(node : MtNode, succ : MtNode | Nil = node.succ?) #

[View source]
def vmodal_is_noun?(node : MtNode) #

[View source]