This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-*- coding: utf-8 -*- | |
import xml.etree.ElementTree as ET | |
tree = ET.parse('dict-ko-galkwi.xml') | |
root = tree.getroot() | |
texts = [i.text for i in root.iter('word')] | |
poses = [i.text for i in root.iter('pos')] | |
zipped_texts = zip(texts, poses) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM dockerfile/ubuntu | |
MAINTAINER Taehoon Kim(carpedm20@gmail.com) | |
# Run upgrades | |
RUN apt-get update | |
# Install basic packages | |
RUN apt-get -qq -y install git curl build-essential openssl libssl-dev python-software-properties g++ make | |
# Install Python |
NewerOlder