def initializeSphinx(self, conf):

    rapp_print(str(conf['jar_path']))

    self._createSocket()

    if self._allow_sphinx_output == True:
        self._sphinxSubprocess = subprocess.Popen( ["java", "-cp", conf['jar_path'], "Sphinx4", str(self._sphinx_socket_PORT)] )
    else:
        try:
          from subprocess import DEVNULL
        except __HOLE__:
          DEVNULL = open(os.devnull, 'wb')

        self._sphinxSubprocess = subprocess.Popen( ["java", "-cp", conf['jar_path'], "Sphinx4", str(self._sphinx_socket_PORT)], \
            stdout = DEVNULL, stderr = DEVNULL )

    self.socket_connection, addr = self._sphinx_socket.accept()

    self.configureSphinx( conf )

  ## Creates socket IPC between self and Sphinx subprocess
  # Creates the socket server with a system provided port, which is pass as an
  # argument to the created subprocess.
dataset/ETHPy150Open rapp-project/rapp-platform/rapp_speech_detection_sphinx4/src/rapp_speech_detection_sphinx4/sphinx4_wrapper.py/Sphinx4Wrapper.initializeSphinx