Skip to content

Instantly share code, notes, and snippets.

View carpedm20's full-sized avatar
⚔️

Taehoon Kim carpedm20

⚔️
View GitHub Profile
#-*- 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)
@carpedm20
carpedm20 / Dockerfile
Last active December 4, 2016 15:51
Dockerfile
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