Debian Codegraph @

stubs/calibre_extensions/sqlite_extension.pyi

raw
1 FTS5_TOKENIZE_QUERY: int
2 FTS5_TOKENIZE_DOCUMENT: int
3 FTS5_TOKENIZE_PREFIX: int
4 FTS5_TOKENIZE_AUX: int
5 FTS5_TOKEN_COLOCATED: int
6
7 def get_locales_for_break_iteration() -> list[str]:
8 "Get list of available locales for break iteration"
9 pass
10
11 def set_ui_language(val: str) -> None:
12 "Set the current UI language"
13 pass
14
15 def tokenize(text: str, remove_diacritics: bool = True, flags: int = 4) -> list[dict[str, str | int]]:
16 "Tokenize a string, useful for testing"
17 pass
18
19 def stem(text: str, lang: str = 'en') -> str:
20 "Stem a word in the specified language, defaulting to English"
21 pass