Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ITranslator.cs
2
4{
8 public interface ITranslator : IProcessingSupport<string>
9 {
14 {
15 get;
16 }
17
22 {
23 get;
24 }
25
31 string DetectLanguage(string Text);
32
40 string Translate(string Text, string FromLanguage, string ToLanguage);
41 }
42}
Interface for detecting interfaces supporting objects with predefined features.
Interface for language translators
Definition: ITranslator.cs:9
string DetectLanguage(string Text)
Tries to detect the language used in the provided text.
string[] SupportedLanguages
What languages are supported by the translator.
Definition: ITranslator.cs:22
string Translate(string Text, string FromLanguage, string ToLanguage)
Translates natural language text, from one language to another.
bool CanDetectLanguage
If the translator can detect language or not.
Definition: ITranslator.cs:14