condor-0.3: Information retrieval library

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

Condor.Commons.Document

Description

Contains basic data structures uses by other modules.

Synopsis

Documentation

type DocName = TextSource

Document name

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