anchor.diff:  # with a period, and hit enter.  The response returned will be the
   # parse of the sentence, in opencog scheme format.
   #
  -FROM ubuntu:14.04
  +FROM ubuntu:18.04
   MAINTAINER David Hart "dhart@opencog.org"
   MAINTAINER Linas Vepštas "linasvepstas@gmail.com"
   
  
positive.code: 
  # There are UTF8 chars in the Java sources, and the RelEx build will
  # break if build in a C environment.
  RUN locale-gen en_US.UTF-8
  ENV LANG en_US.UTF-8
  ENV LANGUAGE en_US:en
  
negative.code: # Unpack the sources, too.
  RUN tar -zxf current/link-grammar-5*.tar.gz
  
  RUN (cd link-grammar-5.*/; ./configure; make -j6; make install; ldconfig)
  
  RUN LINKGRAMMAR_JAR=`find ./link-grammar* -name linkgrammar*.jar` &&\
      LINKGRAMMAR_VERSION=`echo $LINKGRAMMAR_JAR | grep -oP '(?<=-)\d+\.\d+\.\d+(?=\.)'` &&\
      mvn install:install-file \
      -Dfile=$LINKGRAMMAR_JAR \
      -DgroupId=org.opencog \
      -DartifactId=linkgrammar \
      -Dversion=$LINKGRAMMAR_VERSION \
      -Dpackaging=jar
  
  # Relex -- changes often
  ADD http://github.com/opencog/relex/archive/master.zip /home/Downloads/relex-master.zip
  RUN (unzip relex-master.zip; cd relex-master; mvn package)
  
  # Create and switch user. The user is privileged, with no password
  # required.  That is, you can use sudo.
  