def praposes(a): #a = teks a = pps.preprocessing(a) a = pps.removePunc(a) a = ct.norm_typo(a) a = nkbi.norm_kbbi(a) a = stm.stemmer_kata(a) a = stm.stop_word(a) return a
def praposes(a, normalisasi=True): #a = teks if normalisasi == True: a = pps.gantiKarakter(a) a = pps.preprocessing(a) a = pps.removePunc(a) if normalisasi == True: a = ct.cek_typo(a) a = nkbi.norm_kbbi(a) a = stm.stemmer_kata(a) a = stm.stop_word(a) return a