Skip to content

Commit

Permalink
Fixed indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kaniblu authored Jul 12, 2017
1 parent 9968f0f commit 6119922
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hangul_utils/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ def main():
if args.word_tokenize:
sent = " ".join(word_tokenize(sent))
elif args.morph_tokenize:
if args.morph_tags:
sent = " ".join("/".join(w) for w in morph_tokenize(sent, pos=True))
else:
sent = " ".join(w for w in morph_tokenize(sent))
if args.morph_tags:
sent = " ".join("/".join(w) for w in morph_tokenize(sent, pos=True))
else:
sent = " ".join(w for w in morph_tokenize(sent))

if args.split_syllables:
sent = split_syllables(sent)
Expand Down

0 comments on commit 6119922

Please sign in to comment.