struct

LexisMinhash::SimpleDocument

Inherits LexisMinhash::Document < Struct < Value < Object

Simple document wrapper for text strings

Convenience struct for wrapping plain text strings when using the Document interface pattern.

Constructors

new(text : String)

Creates a new SimpleDocument with the given text

Source

Instance methods

text

Returns the text content of the document

Source