class Cadmium::Document

Overview

a document which contains human text.

Included Modules

Defined in:

cadmium/document.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(verbatim : String = "", language : Symbol = :en, pos_tag = false) #

[View source]

Instance Method Detail

def language : Symbol #

[View source]
def language=(language : Symbol) #

[View source]
def sentences : Array(Sentence) #

[View source]
def sentences=(sentences : Array(Sentence)) #

[View source]
def size #

[View source]
def verbatim : String #

[View source]
def verbatim=(verbatim : String) #

[View source]