pub struct MarianConfigResources;
Expand description
§Marian Pretrained model config files
Implementations§
Source§impl MarianConfigResources
impl MarianConfigResources
Sourcepub const ENGLISH2ROMANCE: (&'static str, &'static str)
pub const ENGLISH2ROMANCE: (&'static str, &'static str)
Shared under Creative Commons Attribution 4.0 International License license by the Opus-MT team from Language Technology at the University of Helsinki at https://github.com/Helsinki-NLP/Opus-MT.
Sourcepub const ROMANCE2ENGLISH: (&'static str, &'static str)
pub const ROMANCE2ENGLISH: (&'static str, &'static str)
Shared under Creative Commons Attribution 4.0 International License license by the Opus-MT team from Language Technology at the University of Helsinki at https://github.com/Helsinki-NLP/Opus-MT.
Sourcepub const ENGLISH2GERMAN: (&'static str, &'static str)
pub const ENGLISH2GERMAN: (&'static str, &'static str)
Shared under Creative Commons Attribution 4.0 International License license by the Opus-MT team from Language Technology at the University of Helsinki at https://github.com/Helsinki-NLP/Opus-MT.
Sourcepub const GERMAN2ENGLISH: (&'static str, &'static str)
pub const GERMAN2ENGLISH: (&'static str, &'static str)
Shared under Creative Commons Attribution 4.0 International License license by the Opus-MT team from Language Technology at the University of Helsinki at https://github.com/Helsinki-NLP/Opus-MT.
Sourcepub const ENGLISH2RUSSIAN: (&'static str, &'static str)
pub const ENGLISH2RUSSIAN: (&'static str, &'static str)
Shared under Creative Commons Attribution 4.0 International License license by the Opus-MT team from Language Technology at the University of Helsinki at https://github.com/Helsinki-NLP/Opus-MT.
Sourcepub const RUSSIAN2ENGLISH: (&'static str, &'static str)
pub const RUSSIAN2ENGLISH: (&'static str, &'static str)
Shared under Creative Commons Attribution 4.0 International License license by the Opus-MT team from Language Technology at the University of Helsinki at https://github.com/Helsinki-NLP/Opus-MT.
Sourcepub const FRENCH2GERMAN: (&'static str, &'static str)
pub const FRENCH2GERMAN: (&'static str, &'static str)
Shared under Creative Commons Attribution 4.0 International License license by the Opus-MT team from Language Technology at the University of Helsinki at https://github.com/Helsinki-NLP/Opus-MT.
Sourcepub const GERMAN2FRENCH: (&'static str, &'static str)
pub const GERMAN2FRENCH: (&'static str, &'static str)
Shared under Creative Commons Attribution 4.0 International License license by the Opus-MT team from Language Technology at the University of Helsinki at https://github.com/Helsinki-NLP/Opus-MT.
Sourcepub const ENGLISH2DUTCH: (&'static str, &'static str)
pub const ENGLISH2DUTCH: (&'static str, &'static str)
Shared under Creative Commons Attribution 4.0 International License license by the Opus-MT team from Language Technology at the University of Helsinki at https://github.com/Helsinki-NLP/Opus-MT.
Sourcepub const DUTCH2ENGLISH: (&'static str, &'static str)
pub const DUTCH2ENGLISH: (&'static str, &'static str)
Shared under Creative Commons Attribution 4.0 International License license by the Opus-MT team from Language Technology at the University of Helsinki at https://github.com/Helsinki-NLP/Opus-MT.
Sourcepub const CHINESE2ENGLISH: (&'static str, &'static str)
pub const CHINESE2ENGLISH: (&'static str, &'static str)
Shared under Creative Commons Attribution 4.0 International License license by the Opus-MT team from Language Technology at the University of Helsinki at https://github.com/Helsinki-NLP/Opus-MT.
Sourcepub const ENGLISH2CHINESE: (&'static str, &'static str)
pub const ENGLISH2CHINESE: (&'static str, &'static str)
Shared under Creative Commons Attribution 4.0 International License license by the Opus-MT team from Language Technology at the University of Helsinki at https://github.com/Helsinki-NLP/Opus-MT.
Sourcepub const ENGLISH2SWEDISH: (&'static str, &'static str)
pub const ENGLISH2SWEDISH: (&'static str, &'static str)
Shared under Creative Commons Attribution 4.0 International License license by the Opus-MT team from Language Technology at the University of Helsinki at https://github.com/Helsinki-NLP/Opus-MT.
Sourcepub const SWEDISH2ENGLISH: (&'static str, &'static str)
pub const SWEDISH2ENGLISH: (&'static str, &'static str)
Shared under Creative Commons Attribution 4.0 International License license by the Opus-MT team from Language Technology at the University of Helsinki at https://github.com/Helsinki-NLP/Opus-MT.
Sourcepub const ARABIC2ENGLISH: (&'static str, &'static str)
pub const ARABIC2ENGLISH: (&'static str, &'static str)
Shared under Creative Commons Attribution 4.0 International License license by the Opus-MT team from Language Technology at the University of Helsinki at https://github.com/Helsinki-NLP/Opus-MT.
Sourcepub const ENGLISH2ARABIC: (&'static str, &'static str)
pub const ENGLISH2ARABIC: (&'static str, &'static str)
Shared under Creative Commons Attribution 4.0 International License license by the Opus-MT team from Language Technology at the University of Helsinki at https://github.com/Helsinki-NLP/Opus-MT.
Sourcepub const HINDI2ENGLISH: (&'static str, &'static str)
pub const HINDI2ENGLISH: (&'static str, &'static str)
Shared under Creative Commons Attribution 4.0 International License license by the Opus-MT team from Language Technology at the University of Helsinki at https://github.com/Helsinki-NLP/Opus-MT.
Sourcepub const ENGLISH2HINDI: (&'static str, &'static str)
pub const ENGLISH2HINDI: (&'static str, &'static str)
Shared under Creative Commons Attribution 4.0 International License license by the Opus-MT team from Language Technology at the University of Helsinki at https://github.com/Helsinki-NLP/Opus-MT.
Sourcepub const HEBREW2ENGLISH: (&'static str, &'static str)
pub const HEBREW2ENGLISH: (&'static str, &'static str)
Shared under Apache 2.0 License license at https://huggingface.co/tiedeman/opus-mt-he-en. Modified with conversion to C-array format.
Sourcepub const ENGLISH2HEBREW: (&'static str, &'static str)
pub const ENGLISH2HEBREW: (&'static str, &'static str)
Shared under Apache 2.0 License license at https://huggingface.co/tiedeman/opus-mt-en-he. Modified with conversion to C-array format.
Auto Trait Implementations§
impl Freeze for MarianConfigResources
impl RefUnwindSafe for MarianConfigResources
impl Send for MarianConfigResources
impl Sync for MarianConfigResources
impl Unpin for MarianConfigResources
impl UnwindSafe for MarianConfigResources
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more