original_string: public function getVersion()
      {
          $code = $this->runShell('tika --version', $stdout);
  
          // Parse output
          if (!$code && preg_match('/Apache Tika (?<version>[\.\d]+)/', $stdout, $matches)) {
              return $matches['version'];
          }
  
          return 0;
      }
code: public function getVersion()
      {
          $code = $this->runShell('tika --version', $stdout);
  
          // Parse output
          if (!$code && preg_match('/Apache Tika (?<version>[\.\d]+)/', $stdout, $matches)) {
              return $matches['version'];
          }
  
          return 0;
      }
code_tokens: public function getVersion ( ) { $ code = $ this -> runShell ( 'tika --version' , $ stdout ) ; // Parse output if ( ! $ code && preg_match ( '/Apache Tika (?<version>[\.\d]+)/' , $ stdout , $ matches ) ) { return $ matches [ 'version' ] ; } return 0 ; }
docstring: Get the version of tika installed, or 0 if not installed
  
  @return mixed float | int The version of tika
docstring_tokens: Get the version of tika installed or 0 if not installed