Optional utilityUnique identifier for this specific utility AI service instance.
Optional defaultDefault language for processing if not specified in method options (e.g., 'en', 'es'). BCP-47 format preferred.
Optional resourceThe folder a relative path in customStopWordsPaths, sentimentConfig.lexiconPath or a call's
lexiconNameOrPath is read under. Naive Bayes models are kept under classifierConfig.naiveBayes.modelStoragePath.
Optional defaultNot read: stop words follow a call's language, else defaultLanguage.
Optional customA stop-word file for each language code, one word a line.
Optional summarizerNot read: summarize() answers the first sentences of a text.
Optional lexOptional similarityOptional dampingOptional maxOptional epsilon?: numberOptional classifierOptional naiveOptional modelOptional defaultOptional defaultOptional sentimentOptional lexiconA sentiment lexicon of your own: a JSON object of word to value, or one entry a line, the word, white space
and the value (an AFINN file). Its entries join the lexicon of defaultLexiconLanguage, each replacing the
built-in value of its word, and are read on that lexicon's scale: -5 to 5 where it is AFINN, -1 to 1 where it
is pattern or senticon. In a language natural has no lexicon for, they are the lexicon, read on AFINN's
scale. A relative path is read under resourcePath. A file that cannot be read or parsed logs a warning and
adds nothing.
Optional defaultThe language a call that names none is scored in, and the language lexiconPath adds to. defaultLanguage unless given.
Optional languageNot read: detectLanguage() uses the package's built-in profiles.
Optional nOptional readabilityNot read: syllables are counted by vowel groups.
Base configuration for any IUtilityAI implementation.