import re
import sys

###########################################################################
# This code is developing yet!!
# Target file(Already morphological analysis file) to process to word only.
###########################################################################

argvs = sys.argv
argc = len(argvs)
if (argc != 2):
    print('Usage: # python %s filename' % argvs[0])
    quit()

with open(argvs[1],mode='r', encoding='utf-8') as read_file:
    line = read_file.readlines()
    for l in line:
        split_text_list = str(l).split()
        if(len(split_text_list) == 0):
            continue
        print(split_text_list[0])



import re
import sys

###########################################################################
# This code is developing yet!!
# Target file(Already morphological analysis file) to process to word only.
# <How to use>
# python process_to_only_word.py <Target file(Already morphological analysis file)> > result.txt
###########################################################################

argvs = sys.argv
argc = len(argvs)
if (argc != 2):
    print('Usage: # python %s filename' % argvs[0])
    quit()

with open(argvs[1],mode='r', encoding='utf-8') as read_file:
    line = read_file.readlines()
    for l in line:
        split_text_list = str(l).split()
        if(len(split_text_list) == 0):
            continue
        print(split_text_list[0])



Add a "How to use(comment)"
Add a "How to use(comment)"

  import re
  import sys
  
  ###########################################################################
  # This code is developing yet!!
  # Target file(Already morphological analysis file) to process to word only.
+ # <How to use>
+ # python process_to_only_word.py <Target file(Already morphological analysis file)> > result.txt
  ###########################################################################
  
  argvs = sys.argv
  argc = len(argvs)
  if (argc != 2):
      print('Usage: # python %s filename' % argvs[0])
      quit()
  
  with open(argvs[1],mode='r', encoding='utf-8') as read_file:
      line = read_file.readlines()
      for l in line:
          split_text_list = str(l).split()
          if(len(split_text_list) == 0):
              continue
          print(split_text_list[0])
  
  
  
Add a "How to use(comment)"
## Code Before:
import re
import sys

###########################################################################
# This code is developing yet!!
# Target file(Already morphological analysis file) to process to word only.
###########################################################################

argvs = sys.argv
argc = len(argvs)
if (argc != 2):
    print('Usage: # python %s filename' % argvs[0])
    quit()

with open(argvs[1],mode='r', encoding='utf-8') as read_file:
    line = read_file.readlines()
    for l in line:
        split_text_list = str(l).split()
        if(len(split_text_list) == 0):
            continue
        print(split_text_list[0])



## Instruction:
Add a "How to use(comment)"
## Code After:
import re
import sys

###########################################################################
# This code is developing yet!!
# Target file(Already morphological analysis file) to process to word only.
# <How to use>
# python process_to_only_word.py <Target file(Already morphological analysis file)> > result.txt
###########################################################################

argvs = sys.argv
argc = len(argvs)
if (argc != 2):
    print('Usage: # python %s filename' % argvs[0])
    quit()

with open(argvs[1],mode='r', encoding='utf-8') as read_file:
    line = read_file.readlines()
    for l in line:
        split_text_list = str(l).split()
        if(len(split_text_list) == 0):
            continue
        print(split_text_list[0])


