public override string GetKeyword(Tense tense) { switch (tense) { case Tense.Present: return("Indicative Present"); case Tense.PresentPerfect: return("Perfect Present"); case Tense.Imperfect: return("Indicative Imperfect"); case Tense.Preterite: return("Indicative Preterite"); case Tense.PastPerfect: return("Perfect Past"); case Tense.Future: return("Indicative Future"); case Tense.FuturePerfect: return("Perfect Future"); case Tense.Conditional: return("Indicative Conditional"); case Tense.ConditionalPerfect: return("Perfect Conditional"); case Tense.PreteritePerfect: return("Perfect Preterite"); case Tense.Imperative: return("Imperative Imperative"); default: return(tense.ToString()); } }
//private Dictionary<Person, string> GetConjugationPerTense(string rawData, Tense tense) //{ // //switch (tense) // //{ // // case Tense.Present: // // //break; // // case Tense.PresentPerfect: // // //break; // // case Tense.Imperfect: // // //break; // // case Tense.Preterite: // // //break; // // case Tense.PastPerfect: // // break; // // case Tense.Future: // // break; // // case Tense.FuturePerfect: // // break; // // case Tense.Conditional: // // break; // // case Tense.ConditionalPerfect: // // break; // // case Tense.PreteritePerfect: // // break; // // default: // // //FindMatchesPerTense(tense); // // break; // //} // return ExtractConjugationFromMatches(FindMatchesPerTense(rawData, GetKeyword(tense))); //} public override string GetKeyword(Tense tense) { switch (tense) { case Tense.Present: return("Indicativo presente"); case Tense.PresentPerfect: return("Indicativo pretérito perfecto compuesto"); case Tense.Imperfect: return("Indicativo pretérito imperfecto"); case Tense.Preterite: return("Indicativo pretérito perfecto simple"); case Tense.PastPerfect: return("Indicativo pretérito pluscuamperfecto"); case Tense.Future: return("Indicativo futuro"); case Tense.FuturePerfect: return("Indicativo futuro perfecto"); case Tense.Conditional: return("Condicional simple"); case Tense.ConditionalPerfect: return("Condicional compuesto"); case Tense.PreteritePerfect: return("Indicativo pretérito anterior"); default: break; } return(tense.ToString()); }
public override string GetKeyword(Tense tense) { switch (tense) { case Tense.PresentPerfect: return("Present Perfect"); case Tense.PastPerfect: return("Past Perfect"); case Tense.FuturePerfect: return("Future Perfect"); case Tense.ConditionalPerfect: return("Conditional Perfect"); case Tense.PreteritePerfect: return("Past Perfect Simple"); default: return(tense.ToString()); } }