public override void prepare() { //imbLanguageFramework.imbLanguageFrameworkManager.languages.loadItems(); basicLanguage serbian = imbLanguageFrameworkManager.getLanguage("sr"); serbian.testBoolean("Provera", basicLanguageCheck.spellCheck); //openBase. }
/// <summary> /// Proverava grupu reci - vraca broj reci koje su prosle spell check /// </summary> /// <param name="model"></param> /// <param name="words"></param> /// <returns>Koliko reci je prepoznao</returns> public static int spellCheckSample(this basicLanguage model, List <string> words) { int output = 0; foreach (string w in words) { if (model.testBoolean(w, basicLanguageCheck.spellCheck)) { output++; } } return(output); }