File size: 709 Bytes
158b61b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
Translation
==================
Translations
-------------
.. autoclass:: onmt.translate.Translation
:members:
Translator Class
-----------------
.. autoclass:: onmt.translate.Translator
:members:
.. autoclass:: onmt.translate.TranslationBuilder
:members:
Decoding Strategies
--------------------
.. autoclass:: onmt.translate.DecodeStrategy
:members:
.. autoclass:: onmt.translate.BeamSearch
:members:
.. autofunction:: onmt.translate.greedy_search.sample_with_temperature
.. autoclass:: onmt.translate.GreedySearch
:members:
Scoring
--------
.. autoclass:: onmt.translate.penalties.PenaltyBuilder
:members:
.. autoclass:: onmt.translate.GNMTGlobalScorer
:members:
|