Exemplo n.º 1
0
        public static InterlinLineChoices DefaultChoices(int vern, int analysis, ILangProject proj, InterlinMode mode)
        {
            InterlinLineChoices result = new InterlinLineChoices(vern, analysis, proj, mode);

            switch (mode)
            {
            case InterlinMode.Analyze:
                result.SetStandardState();
                break;

            case InterlinMode.Gloss:
            case InterlinMode.GlossAddWordsToLexicon:
                result.SetStandardGlossState();
                break;
            }
            return(result);
        }
Exemplo n.º 2
0
		public static InterlinLineChoices DefaultChoices(ILangProject proj, int vern, int analysis, InterlinMode mode)
		{
			InterlinLineChoices result = new InterlinLineChoices(proj, vern, analysis, mode);
			switch (mode)
			{
				case InterlinMode.Analyze:
					result.SetStandardState();
					break;
				case InterlinMode.Gloss:
				case InterlinMode.GlossAddWordsToLexicon:
					result.SetStandardGlossState();
					break;
			}
			return result;
		}