import { DataSet, Language, Vocabulary, Normalizer, Stemmer, Tokenizer } from './types';
export declare class Preprocessor {
    private _normalizer;
    private _stemmer;
    private _tokenizer;
    private _language;
    private _maxSeqLen;
    private _vocabulary;
    set normalizer(value: Normalizer);
    set stemmer(value: Stemmer);
    set tokenizer(value: Tokenizer);
    set language(value: Language);
    set maxSeqLen(value: number);
    set vocabulary(vocabulary: Vocabulary);
    get vocabulary(): Vocabulary;
    get language(): Language;
    get maxSeqLen(): number;
    generateVocabulary(data: DataSet): void;
    preprocess(sentence: string): number[];
    private _computeSequence;
    private _truncate;
    private _paddSequence;
}
