Пример #1
0
        public override string ToString()
        {
            StringBuilder sb        = new StringBuilder();
            bool          firstItem = true;

            foreach (MorphologicalRule rule in m_mrules)
            {
                if (!firstItem)
                {
                    sb.Append(", ");
                }
                sb.Append(rule);
                firstItem = false;
            }

            return(string.Format(HCStrings.kstidWordAnalysis,
                                 m_stratum == null ? m_shape.ToString() : m_stratum.CharacterDefinitionTable.ToRegexString(m_shape, ModeType.ANALYSIS, true),
                                 m_pos, sb, m_stratum));
        }
Пример #2
0
 public override string ToString()
 {
     return(m_shape.ToString());
 }