Skip to content

IlyaBat9/Yandex-Linguistics.NET

 
 

Repository files navigation

#Yandex Linguistics API .NET

###Currently implemented API's

###Using

// Create service object (predictor, dictionary, translator or speller) with app key
var translator = new Translator("xxx");

// Using api call
var translation = translator.Translate("Семь раз отмерь, один раз отрежь",
  new LangPair(Lang.None, Lang.En), null, true);

// Obtained results:
// translation.LangPair = LangPair.RuEn
// translation.Detected.Lang = Lang.Ru
// translation.Text = "Seven times, cut once"

One can use these apies with default app keys or get them on this page: http://api.yandex.ru/key/form.xml

All API's coveraged with tests in YandexLinguistics.NET.Tests

###GUI WinForms GUI app is available for testing.

GUI sample screen

###License

Yandex-Linguistics.NET is licensed under the Apache 2.0 License.

About

An implementation of yandex linguistics API (Predictor, Translator, Dictionary, Speller, Inflector) in .NET

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.7%
  • Batchfile 0.3%