luanshaotong / OpenEphyra

This repository contains a resurrected and repaired version of OpenEphyra, from

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


This repository contains a resurrected and repaired version of OpenEphyra It was branched from the latest version of OpenEphyra on SoundForge, as of March, 2014, for use in the OpenCog artificial intelligence system (Copyright (C) 2014 OpenCog Foundation).

Changes made from the original:

  • Removed obsolete KnowledgeMiner classes, which no longer function due to changes in the various search engine APIs. Google, Bing, and Yahoo all have since converted to subscription based services, as well as newer technology.
  • Replaced the old Bing KnowledgeMiner with a new, functioning Bing Azure KnowledgeMiner. This KM requires an Azure subscription key: Currently, there is a free key available that allows up to 5,000 queries per month.
  • Miscelaneous minor fixes and clean-up.

The simplest way to open/build/run OpenEphyra is using Eclipse with the Ant build file feature. In Eclipse, select "File->New->Project->Java->Java project from existing ant buildfile" and choose the existing build.xml file that's in the project root. You can also use OpenEphyra in a sort of "API mode" if you want to call its functions from another app. The instructions for that are explained in the API_MODE.MD file (you still need to build the project first).

The original README file is included below:

================================================================================ OpenEphyra Question Answering System

                    Nico Schlaefer (
                       School of Computer Science
                       Carnegie Mellon University

================================================================================ Copyright (C) 2007-2011 Carnegie Mellon University.

OpenEphyra is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

OpenEphyra is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with OpenEphyra. If not, see


OpenEphyra was originally developed by Nico Schlaefer, but many others have made valuable contributions. Special thanks go to:

  • Guido Sautter, for his work on definitional QA and the NE recognizer.
  • Justin Betteridge, who developed the answer type classifier.

Content of this Distribution:

bin/ Java class files cache/ Cache files conf/ Configuration files doc/ Javadoc documentation lib/ Third party libraries log/ Log files res/ Resource files scripts/ Command line scripts src/ Java source files build.xml Ant build file for OpenEphyra javadoc.xml Ant build file for the Javadoc documentation CHANGES Changes made in new revisions LICENSE GNU General Public License README This file

Getting Started:

If you just like to run OpenEphyra in command line mode, try the following:

  • Go to the folder 'scripts'.
  • Execute (Unix, Linux, and Mac OS) or OpenEphyra.bat (Windows).
  • Type in a factoid question, 'LIST:' followed by a list question, or 'exit'.

The only system requirements are a Java runtime environment (version 1.5 or later) and about 1 GB of free RAM.

Documentation and Support:

The documentation and a collection of tutorials are hosted on the Ephyra site:

Downloads of new releases and a discussion forum can be found at SourceForge:

If you would like to be notified of new releases and other important information regarding OpenEphyra, you can subscribe to our mailing list:

We highly appreciate any feedback, comments, and suggestions for improvements. Please post to our forum or send an email to


The OpenEphyra effort is supported in part by IBM Open Collaboration Agreement #W0652159.

ezoic increase your site revenue


This repository contains a resurrected and repaired version of OpenEphyra, from

License:GNU General Public License v2.0


Language:Java 99.6%Language:Shell 0.4%Language:Batchfile 0.1%