Python: cari-stopwords-common.py
import os,nltk,os.path,re,string import argparse from nltk.stem.porter import PorterStemmer from collections import Counter import re ps=PorterStemmer() def hanya_huruf( input ): r=re.match('^[a-zA-Z]+$', input) if r==None: return False else: return True def parse_args(): parser = argparse.ArgumentParser() parser.add_argument('-i', '--infile', default= , help='input filename') return
| Penerbit | Taratsa |
|---|---|
| Tahun | 2017-02-02 |
| Bahasa | ind |
| Pengenal | bookid: urn:uuid:daea9356-0ad7-534c-959d-583f1c5dfa3f |