public static String TargetFormToString(ConjugationData.ETargetForm targetForm) { switch (targetForm) { case ConjugationData.ETargetForm.ruForm: return("る - Form"); case ConjugationData.ETargetForm.naiForm: return("ない - Form"); case ConjugationData.ETargetForm.naiPastForm: return("ない - Form Past"); case ConjugationData.ETargetForm.masuForm: return("ます - Form"); case ConjugationData.ETargetForm.masuNegativeForm: return("ます - Form Negative"); case ConjugationData.ETargetForm.masuPastForm: return("ます - Form Past"); case ConjugationData.ETargetForm.masuPastNegativeForm: return("ます - Form Past Negative"); case ConjugationData.ETargetForm.teForm: return("て - Form"); case ConjugationData.ETargetForm.taForm: return("た - Form"); case ConjugationData.ETargetForm.imperativeForm: return("Imperative Form"); case ConjugationData.ETargetForm.prohibitiveForm: return("Prohibitive Form"); case ConjugationData.ETargetForm.volitionalForm: return("Volitional Form"); case ConjugationData.ETargetForm.conditionalForm: return("Conditional Form"); case ConjugationData.ETargetForm.tai: return("たい - Form"); case ConjugationData.ETargetForm.sugi: return("すぎ - Form"); case ConjugationData.ETargetForm.yasui: return("やすい - Form"); case ConjugationData.ETargetForm.nikui: return("にくい - Form"); case ConjugationData.ETargetForm.potentialVerb: return("Potential Verb"); case ConjugationData.ETargetForm.passiveVerb: return("Passive Verb"); case ConjugationData.ETargetForm.causativeVerb: return("Causasitive Verb"); } return(""); }
private static String GetTargetWord(String sourceWord, Word.EType sourceWordType, ConjugationData.ETargetForm targetForm) { //before i conjugate the wort into the target form i first bring the word from the masu into the ru form //the thing is, normaly the word whould already be in ru form but i saved all verbs in masu form //so i just convert them at the begining, later i will convert all verbs into the ru form before so //i don't have do convert it here //sourceWord = GetRuVerb(sourceWord, sourceWordType); switch (targetForm) { case ConjugationData.ETargetForm.ruForm: return(GetRuVerb(sourceWord, sourceWordType)); case ConjugationData.ETargetForm.naiForm: return(GetNaiVerb(sourceWord, sourceWordType)); case ConjugationData.ETargetForm.naiPastForm: return(GetNaiVerbPast(sourceWord, sourceWordType)); case ConjugationData.ETargetForm.masuForm: return(GetMasuVerb(sourceWord, sourceWordType)); case ConjugationData.ETargetForm.masuNegativeForm: return(GetMasuVerbNegative(sourceWord, sourceWordType)); case ConjugationData.ETargetForm.masuPastForm: return(GetMasuVerbPast(sourceWord, sourceWordType)); case ConjugationData.ETargetForm.masuPastNegativeForm: return(GetMasuVerbPastNegative(sourceWord, sourceWordType)); case ConjugationData.ETargetForm.teForm: return(GetTeVerb(sourceWord, sourceWordType)); case ConjugationData.ETargetForm.taForm: return(GetTaVerb(sourceWord, sourceWordType)); case ConjugationData.ETargetForm.imperativeForm: return(GetImperativeVerb(sourceWord, sourceWordType)); case ConjugationData.ETargetForm.prohibitiveForm: return(GetProhibitiveVerb(sourceWord, sourceWordType)); case ConjugationData.ETargetForm.volitionalForm: return(GetVolitionalVerb(sourceWord, sourceWordType)); case ConjugationData.ETargetForm.conditionalForm: return(GetConditionalVerb(sourceWord, sourceWordType)); case ConjugationData.ETargetForm.tai: return(GetTaiVerb(sourceWord, sourceWordType)); case ConjugationData.ETargetForm.sugi: return(GetSugiVerb(sourceWord, sourceWordType)); case ConjugationData.ETargetForm.yasui: return(GetYasuiVerb(sourceWord, sourceWordType)); case ConjugationData.ETargetForm.nikui: return(GetNikuiVerb(sourceWord, sourceWordType)); case ConjugationData.ETargetForm.potentialVerb: return(GetPotentialVerb(sourceWord, sourceWordType)); case ConjugationData.ETargetForm.passiveVerb: return(GetPassiveVerb(sourceWord, sourceWordType)); case ConjugationData.ETargetForm.causativeVerb: return(GetCausativeVerb(sourceWord, sourceWordType)); } return(""); }