-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…odule draft
- Loading branch information
Showing
6 changed files
with
102 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
"""hxlm.core.localization.hdp is an draft | ||
Copyleft 🄯 2021, Emerson Rocha (Etica.AI) <[email protected]> | ||
License: Public Domain / BSD Zero Clause License | ||
SPDX-License-Identifier: Unlicense OR 0BSD | ||
""" | ||
|
||
# TODO: move vocabulary conversions from hxlm.core.schema.vocab to here | ||
# (Emerson Rocha, 2021-03-20 03:01 UTC) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
"""hxlm.core.localization.translation is an draft | ||
Copyleft 🄯 2021, Emerson Rocha (Etica.AI) <[email protected]> | ||
License: Public Domain / BSD Zero Clause License | ||
SPDX-License-Identifier: Unlicense OR 0BSD | ||
""" | ||
|
||
# Suggested import: | ||
# import hxlm.core.localization.translation as localization | ||
|
||
import hxlm.core.localization.translation.interactive as IMT # noqa | ||
import hxlm.core.localization.translation.machine as MT # noqa | ||
import hxlm.core.localization.translation.memory as TM # noqa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
"""hxlm.core.localization.translation.interactive is an draft | ||
Copyleft 🄯 2021, Emerson Rocha (Etica.AI) <[email protected]> | ||
License: Public Domain / BSD Zero Clause License | ||
SPDX-License-Identifier: Unlicense OR 0BSD | ||
""" | ||
|
||
|
||
def about_interactive_machine_translation(): | ||
"""this entire module is an draft""" | ||
print('''\ | ||
See https://en.wikipedia.org/wiki/Interactive_machine_translation. | ||
"Interactive machine translation (IMT), is a specific sub-field of | ||
computer-aided translation. Under this translation paradigm, the computer | ||
software that assists the human translator attempts to predict the | ||
text the user is going to input by taking into account all the | ||
information it has available. Whenever such prediction is wrong and | ||
the user provides feedback to the system, a new prediction is performed | ||
considering the new information available. Such process is repeated | ||
until the translation provided matches the user's | ||
expectations. | ||
Interactive machine translation is specially interesting when | ||
translating texts in domains where it is not admissible to output a | ||
translation containing errors, hence requiring a human user to amend | ||
the translations provided by the system. In such cases, | ||
interactive machine translation has been proved to provide benefit | ||
to potential users.[1][2]" -- Wikipedia | ||
''', end='') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
"""hxlm.core.localization.translation.machine is an draft | ||
Copyleft 🄯 2021, Emerson Rocha (Etica.AI) <[email protected]> | ||
License: Public Domain / BSD Zero Clause License | ||
SPDX-License-Identifier: Unlicense OR 0BSD | ||
""" | ||
|
||
|
||
def about_machine_translation(): | ||
"""this entire module is an draft""" | ||
print('''\ | ||
See https://en.wikipedia.org/wiki/Machine_translation. | ||
"Machine translation, sometimes referred to by the abbreviation MT[1] | ||
(not to be confused with computer-aided translation, machine-aided | ||
human translation or interactive translation), is a sub-field of | ||
computational linguistics that investigates the use of software to | ||
translate text or speech from one language to another." -- Wikipedia | ||
''', end='') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
"""hxlm.core.localization.translation.memory is an draft | ||
Copyleft 🄯 2021, Emerson Rocha (Etica.AI) <[email protected]> | ||
License: Public Domain / BSD Zero Clause License | ||
SPDX-License-Identifier: Unlicense OR 0BSD | ||
""" | ||
|
||
|
||
def about_translation_memory(): | ||
"""this entire module is an draft""" | ||
print('''\ | ||
See https://en.wikipedia.org/wiki/Translation_memory. | ||
"A translation memory (TM) is a database that stores "segments", which can | ||
be sentences, paragraphs or sentence-like units (headings, titles or | ||
elements in a list) that have previously been translated, in order to aid | ||
human translators." -- Wikipedia | ||
''', end='') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters