Skip to content

Commit

Permalink
add mode for tihu
Browse files Browse the repository at this point in the history
  • Loading branch information
b00f committed Sep 28, 2019
1 parent b8816ab commit accb2be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lilak.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def __init__(self, mode = 0):


def is_kam_dandane(self, word):
if self.mode == 1:
if self.mode == 'tihu':
return True

dandane = 0
Expand Down Expand Up @@ -730,7 +730,7 @@ def pars_main_dic(self):
parser.add_argument("-o", "--output", help="input dictionary file")
args = parser.parse_args()

if args.mode:
if args.mode == 'tihu':
lilak = Lilak(args.mode)
lilak.read_lexicon(args.input)
lilak.pars_main_dic()
Expand Down

0 comments on commit accb2be

Please sign in to comment.