actors |
|
|
bergamot-translator |
|
|
cld2 |
|
|
content |
|
|
docs |
|
|
jar.mn |
|
1507 |
LanguageDetector.sys.mjs |
The options used for when detecting a language.
@typedef {object} DetectionOptions
@property {string} text - The text to analyze.
@property {boolean} [isHTML] - A boolean, indicating whether the text should be analyzed as
HTML rather than plain text.
@property {string} [language] - A string indicating the expected language. For text
extracted from HTTP documents, this is expected to come from the Content-Language
header.
@property {string} [tld] - A string indicating the top-level domain of the document the
text was extracted from.
@property {string} [encoding] - A string describing the encoding of the document the
string was extracted from. Note that, regardless of the value of this property,
the 'text' property must be a UTF-16 JavaScript string.
|
7835 |
metrics.yaml |
|
31153 |
moz.build |
|
676 |
README.md |
# Firefox Translations (Work in Progress) |
160 |
tests |
|
|
translations.d.ts |
|
11803 |
TranslationsTelemetry.sys.mjs |
Telemetry functions for Translations actors
|
20277 |
TranslationsUtils.mjs |
@typedef {import("./translations").LanguagePair} LanguagePair
|
3675 |
tsconfig.json |
|
442 |