Ferenda¶
Ferenda is a python library and framework for transforming unstructured document collections into structured Linked Data. It helps with downloading documents, parsing them to add explicit semantic structure and RDF-based metadata, finding relationships between documents, and republishing the results.
- Introduction to Ferenda
- First steps
- Creating your own document repositories
- Key concepts
- Parsing and representing document metadata
- Building structured documents
- Parsing document structure
- Citation parsing
- Reading files in various formats
- Grouping documents with facets
- Customizing the table(s) of content
- Customizing the news feeds
- The WSGI app
- The ReST API for querying
- Setting up external databases
- Testing your docrepo
- Advanced topics
API reference¶
Classes¶
- The
DocumentRepository
class - The
Document
class - The
DocumentEntry
class - The
DocumentStore
class - The
Facet
class - The
ResourceLoader
class - The
TocPage
class - The
TocPageset
class - The
Feed
class - The
Feedset
class - The
elements
classes - The
elements.html
classes - The
Describer
class - The
Transformer
class - The
FSMParser
class - The
CitationParser
class - The
URIFormatter
class - The
TripleStore
class - The
FulltextIndex
class - The
TextReader
class - The
PDFReader
class - The
PDFAnalyzer
class - The
WordReader
class - The
WSGIApp
class - The
Resources
class - The
CompositeRepository
class
Modules¶
Decorators¶
Document repositories¶
ferenda.sources.general.Keyword
– generate documents for keywords used by document in other docreposferenda.sources.general.MediaWiki
– pull in commentary on documents and keywords from a MediaWiki instanceferenda.sources.general.Sitenews
– Generate a set of news documents from a single text fileferenda.sources.general.Skeleton
– generate skeleton documents for references from other documentsferenda.sources.general.Static
– generate documents from your own.rst
filesferenda.sources.tech
– repositories for technical standardsferenda.sources.legal.eu
– repositories for EU lawferenda.sources.legal.se
– repositories for Swedish law- The
Devel
class
Changes¶
- 0.3.0 (released 2015-02-18)
- 0.2.0 (released 2014-07-23)
- 0.1.7 (released 2014-04-22)
- 0.1.6.1 (released 2013-11-13)
- 0.1.6 (released 2013-11-13)
- 0.1.5 (released 2013-09-29)
- 0.1.4 (released 2013-08-26)
- 0.1.3 (released 2013-08-11)
- 0.1.2 (released 2013-08-02)
- 0.1.1 (released 2013-07-27)
- 0.1.0 (released 2013-07-26)