Esempio n. 1
0
 internal Adjective(AdjectiveRaw raw, string word)
 {
     this.Word = word;
     if (raw.Word != null)
     {
         SchemaIndex = raw.SchemaIndex;
     }
 }
Esempio n. 2
0
        static AdjectiveRaw ParseAdjective(string line)
        {
            var parts = line.Split('\t');

            var wordStr   = parts[0];
            var schemaStr = parts[1];

            var res = new AdjectiveRaw();

            res.Word        = wordStr;
            res.SchemaIndex = schemas.GetOrAddSchemaId(schemaStr);

            return(res);
        }