Extractor Cook Book
Requirements
- some knowledge of PHP or a similar object oriented language
-
PHP CLI needs to be installed
Setup
-
Download the code, or if you are familiar with SVN, you can use this direct link: svn co https://dbpedia.svn.sourceforge.net/svnroot/dbpedia/extraction dbpedia - Run php extract_test.php to see if everything is working.
Developing
- You need to create an extra Extractor. The best way to start is to use extraction/extractors/Sample Extractor.php (pre-existing, but needs to be commented a little more elaborately)
- Copy the file; and rename the file, the class in the file, and the extractor id.
- Adjust extract_test.php
- Rename the extractor class.
- Change the articles, if necessary for testing.
- If you think your Extractor Class is finished, mail it to us.
Notes
- Extractors are subclasses of Extractor.php, which implements Extractor Interface.php.
- Extractor Container.php is a Wrapper.
There are no files on this page.
[Display files/form]
There is no comment on this page.
[Display comments/form]
Information
Last Modification:
2009-07-27 09:32:52 by Sebastian Hellmann
