class Cadmium::Document
- Cadmium::Document
- Reference
- Object
Overview
a document which contains human text.
Included Modules
- JSON::Serializable
Defined in:
cadmium/document.crConstructors
- .new(pull : JSON::PullParser)
- .new(verbatim : String = "", language : Symbol = :en, pos_tag = false)
Instance Method Summary
- #language : Symbol
- #language=(language : Symbol)
- #sentences : Array(Sentence)
- #sentences=(sentences : Array(Sentence))
- #size
- #verbatim : String
- #verbatim=(verbatim : String)