Sign inSign up

yamitzky/jumanpp

By yamitzky

•Updated about 10 years ago

Dockernized JUMAN++ http://nlp.ist.i.kyoto-u.ac.jp/index.php?JUMAN%2B%2B

Image
0

1.8K

Dockerfile
FROM alpine:latest

ENV JUMANPP_VERSION 1.00

RUN apk add --no-cache --virtual build-dependencies \
    boost-dev \
    g++ \
    make && \
    apk add --no-cache boost &&\
    wget http://lotus.kuee.kyoto-u.ac.jp/nl-resource/jumanpp/jumanpp-${JUMANPP_VERSION}.tar.xz -O /tmp/jumanpp.tar.xz && \
    tar xJvf /tmp/jumanpp.tar.xz -C /tmp && \
    cd /tmp/jumanpp-${JUMANPP_VERSION} && \
    ./configure --prefix=/usr/local/ && \
    make && \
    make install && \
    apk del build-dependencies && \
    rm -rf /tmp/* && \
    rm -rf /var/cache/apk/*

CMD jumanpp