struct Cadmium::Document

Overview

a document which contains human text.

Defined in:

cadmium/document.cr

Constructors

Instance Method Summary

Constructor Detail

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 readability : Float64 #

[View source]
def readability=(readability : Float64) #

[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]