//public Dictionary<CaseRole, List<VerbFrame>> Associatedactions //{ // get { return _associatedactions; } //} //public void AddCaseRole(CaseRole role,VerbFrame verbFrame) //{ // if (_associatedactions.ContainsKey(role)) // { // _associatedactions[role].Add(verbFrame); // } // else // { // List<VerbFrame> vframes = new List<VerbFrame>(); // vframes.Add(verbFrame); // _associatedactions.Add(role,vframes); // } //} public void AddCaseRolenouns(CaseRole role, NounFrame nounframe) { if (_ownerof.ContainsKey(role)) { _ownerof[role].Add(nounframe); } else { List <NounFrame> nframes = new List <NounFrame>(); nframes.Add(nounframe); _ownerof.Add(role, nframes); } }
public void AddTemporalRelation_n(TemporalRelationType temporalRelationType, NounFrame frame) { if (_temporalRelations_n.ContainsKey(temporalRelationType)) { _temporalRelations_n[temporalRelationType].Add(frame); } else { List <NounFrame> nounframelst = new List <NounFrame>(); nounframelst.Add(frame); _temporalRelations_n.Add(temporalRelationType, nounframelst); } }
public void AddCaseRole(CaseRole caseRole, NounFrame frame) { if (_caseRoles.ContainsKey(caseRole)) { _caseRoles[caseRole].Add(frame); } else { List <NounFrame> verbframelst = new List <NounFrame>(); verbframelst.Add(frame); _caseRoles.Add(caseRole, verbframelst); } }
public void AddDomainRelation_n(DomainRelationType domainRelationType, NounFrame frame) { if (_domainRelations_n.ContainsKey(domainRelationType)) { _domainRelations_n[domainRelationType].Add(frame); } else { List <NounFrame> nounframelst = new List <NounFrame>(); nounframelst.Add(frame); _domainRelations_n.Add(domainRelationType, nounframelst); } }