<commit_before>FROM gcc

WORKDIR /app
ADD . /app

# Install prerequisites
RUN apt-get update && \
    DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
    libexpat1-dev \
    libevent-dev \
    libmecab-dev \
    cmake

# Build
RUN cmake . && make

EXPOSE 8842

CMD ["./nihongoparserd", "-p", "8842"]<commit_msg>Add MeCab support files<commit_after>FROM gcc

WORKDIR /app
ADD . /app

# Install prerequisites
RUN apt-get update && \
    DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
    libexpat1-dev \
    libevent-dev \
    libmecab-dev \
    mecab \
    cmake

# Build
RUN cmake . && make

EXPOSE 8842

CMD ["./nihongoparserd", "-p", "8842"]
{'fraction_non_alphanumeric': 0.12142857142857143, 'fraction_numerical': 0.025714285714285714, 'mean_word_length': 2.789189189189189, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '4454427', 'n_tokens_mistral': 286, 'n_tokens_neox': 267, 'n_words': 63}