fune/toolkit/components/translations/fasttext/LICENSE
Erik Nordin 2e194c7091 Bug 1813161 - Identify language in about:translations r=gregtatum
Adds a LanguageIdWorker class which is responsible for identifying
the language of written text in order to determine from which language
a translation should occur.

This patch adds the infrastructure and capability to make these assessments
and logs them to the terminal when using the about:translations page.

In a subsequent patch, we can utilize this information to add user-interactive
functionality to about:translations.

Differential Revision: https://phabricator.services.mozilla.com/D170137
2023-02-22 18:45:30 +00:00

21 lines
1.1 KiB
Text

MIT License
Copyright (c) 2016-present, Facebook, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.