HashCorpus

Undocumented in source.

Constructors

this
this(document[] corpus, string corpus_path, string encoding, uint salt_length)
Undocumented in source.

Members

Functions

_encode_token
dstring _encode_token(dstring token)

Encodes one token

_export_Ddictionary
void _export_Ddictionary(Ddictionary file_to_dump, string file_path)
Undocumented in source. Be warned that the author may not have intended to support it.
_export_dictionary
void _export_dictionary(dictionary file_to_dump, string file_path)
Undocumented in source. Be warned that the author may not have intended to support it.
_export_encoded_document
void _export_encoded_document(document doc_to_dump, string file_path)
Undocumented in source. Be warned that the author may not have intended to support it.
_hash_document
document _hash_document(document input_document, document output_document)
Undocumented in source. Be warned that the author may not have intended to support it.
_load_dictionaries
void _load_dictionaries()

Load prevously saved dictionaries

hash_corpus
void hash_corpus()

Hashes the corpus

setup_corpus_path
string setup_corpus_path()

Sets up the output path

Variables

corpus
document[] corpus;
Undocumented in source.
corpus_path
string corpus_path;
Undocumented in source.
decode_dictionary
Ddictionary decode_dictionary;
Undocumented in source.
decode_dictionary_path
string decode_dictionary_path;
Undocumented in source.
encode_dictionary
dictionary encode_dictionary;
Undocumented in source.
encode_dictionary_path
string encode_dictionary_path;
Undocumented in source.
encoding
string encoding;
Undocumented in source.
public_path
string public_path;
Undocumented in source.
salt_length
uint salt_length;
Undocumented in source.

Meta