internal Adjective(AdjectiveRaw raw, string word) { this.Word = word; if (raw.Word != null) { SchemaIndex = raw.SchemaIndex; } }
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); }