Condor-0.2: Information retrieval library

Portabilityportable
Stabilityalpha
MaintainerKrzysztof Langner <klangner@gmail.com>
Safe HaskellSafe-Inferred

Condor.DataTypes

Description

Common to all modules data types definitions.

Synopsis

Documentation

data Document Source

Document with name and contents

Constructors

Document DocName [Field] 

docFromStrings :: String -> String -> DocumentSource

Create simple document with name and single field content.

docName :: Document -> TextSource

Get document name

docText :: Document -> TextSource

Get text from all fields