<commit_before># ## Google Refine 2.5
#

FROM ubuntu:precise
MAINTAINER Chris <<EMAIL>>

ENV DEBIAN_FRONTEND noninteractive

# Java 7 and wget
RUN echo "deb http://archive.ubuntu.com/ubuntu precise universe" >> /etc/apt/sources.list
RUN apt-get update
RUN apt-get -y install openjdk-7-jre-headless wget


# elasticsearch
RUN wget --no-check-certificate https://github.com/OpenRefine/OpenRefine/releases/download/2.5/google-refine-2.5-r2407.tar.gz
RUN tar -xzf google-refine-2.5-r2407.tar.gz && rm google-refine-2.5-r2407.tar.gz

EXPOSE 3333

CMD ["google-refine-2.5/refine", "-i", "0.0.0.0"]<commit_msg>add some basic docs to openrefine image<commit_after># ## Google Refine 2.5
#
# ## Usage Examples
#
# Starting the container:
#
#     docker run --name="refine" -P openrefine
#
# Find out which port to connect to:
#
#     docker ps
#
# ## Links
#
# * Homepage: http://openrefine.org/index.html
# * FAQ: https://github.com/OpenRefine/OpenRefine/wiki/FAQ
# * Wiki: https://github.com/OpenRefine/OpenRefine/wiki

FROM ubuntu:precise
MAINTAINER Chris <<EMAIL>>

ENV DEBIAN_FRONTEND noninteractive

# Java 7 and wget
RUN echo "deb http://archive.ubuntu.com/ubuntu precise universe" >> /etc/apt/sources.list
RUN apt-get update
RUN apt-get -y install openjdk-7-jre-headless wget


# download and "install"
RUN wget --no-check-certificate https://github.com/OpenRefine/OpenRefine/releases/download/2.5/google-refine-2.5-r2407.tar.gz
RUN tar -xzf google-refine-2.5-r2407.tar.gz && rm google-refine-2.5-r2407.tar.gz

EXPOSE 3333

CMD ["google-refine-2.5/refine", "-i", "0.0.0.0"]
{'fraction_non_alphanumeric': 0.14885496183206107, 'fraction_numerical': 0.043256997455470736, 'mean_word_length': 3.915625, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5733404', 'n_tokens_mistral': 655, 'n_tokens_neox': 601, 'n_words': 131}