<commit_before>FROM proycon/kaldi
ARG BRANCH="master"
ARG MODELS="utwente radboud_OH radboud_PR radboud_GN"
ENV MODELS=$MODELS
ARG MODELPATH="/opt/Kaldi_NL/models"
ENV modelpack=$MODELPATH
RUN apt-get update && \
    apt-get install -y --no-install-recommends python3-numpy default-jre-headless time procps dialog
RUN git clone --branch "$BRANCH" https://github.com/opensource-spraakherkenning-nl/Kaldi_NL.git /opt/Kaldi_NL
ENV KALDI_ROOT=/opt/kaldi
RUN cd /opt/Kaldi_NL &&\
    if [ "$modelpack" != "/opt/Kaldi_NL/models" ]; then export NODOWNLOAD=1; fi && \
    ./configure.sh $MODELS

#mount-point reserved for external models (set MODELPATH=/models to make use of this)
VOLUME [ "/models" ]

WORKDIR /opt/Kaldi_NL
ENTRYPOINT [ "entrypoint.sh" ]<commit_msg>Dockerfile: fix<commit_after>FROM proycon/kaldi
ARG BRANCH="master"
ARG MODELS="utwente radboud_OH radboud_PR radboud_GN"
ENV MODELS=$MODELS
ARG MODELPATH="/opt/Kaldi_NL/models"
ENV modelpack=$MODELPATH
RUN apt-get update && \
    apt-get install -y --no-install-recommends python3-numpy default-jre-headless time procps dialog
RUN git clone --branch "$BRANCH" https://github.com/opensource-spraakherkenning-nl/Kaldi_NL.git /opt/Kaldi_NL
ENV KALDI_ROOT=/opt/kaldi
RUN cd /opt/Kaldi_NL &&\
    if [ "$modelpack" != "/opt/Kaldi_NL/models" ]; then export NODOWNLOAD=1; fi && \
    ./configure.sh $MODELS

#mount-point reserved for external models (set MODELPATH=/models to make use of this)
VOLUME [ "/models" ]

WORKDIR /opt/Kaldi_NL
ENTRYPOINT [ "./entrypoint.sh" ]
{'fraction_non_alphanumeric': 0.12926509186351706, 'fraction_numerical': 0.0026246719160104987, 'mean_word_length': 4.52536231884058, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4058856', 'n_tokens_mistral': 591, 'n_tokens_neox': 566, 'n_words': 133}