You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -129,7 +129,7 @@ export class StopTokenFilter extends TokenFilterBase {
129
129
/** If `true`, the last token of a stream is removed if it’s a stop word. Defaults to `true`. */
130
130
remove_trailing?: boolean
131
131
/** Language value, such as `_arabic_` or `_thai_`. Defaults to `_english_`. */
132
-
stopwords?: StopWords
132
+
stopwords?: StopWordLanguage|string[]
133
133
/** Path to a file that contains a list of stop words to remove.
134
134
* This path must be absolute or relative to the `config` location, and the file must be UTF-8 encoded. Each stop word in the file must be separated by a line break. */
0 commit comments