C# 클래스 rosette_api.RosetteRelationship

파일 보기 프로젝트 열기: rosette-api/csharp 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Equals ( object obj ) : bool

Equals override

GetHashCode ( ) : int

HashCode override

RosetteRelationship ( String predicate, List arguments, List temporals, List locatives, List adjunts, Nullable confidence ) : System

Creates a grammatical relationship. Temporary EntityIDs, ordered "T0", "T1"..., are added to the argument strings in an ArgumentsFull property.

RosetteRelationship ( string predicate, string>.Dictionary arguments, string>.Dictionary IDs, List temporals, List locatives, List adjunts, Nullable confidence, HashSet modalities ) : System

Creates a grammatical relationship

RosetteRelationship ( string predicate, List arguments, List temporals, List locatives, List adjunts, Nullable confidence, HashSet modalities ) : System

Creates a grammatical relationship

ToString ( ) : string

ToString override. Writes this RosetteRelationship in JSON form

메소드 상세

Equals() 공개 메소드

Equals override
public Equals ( object obj ) : bool
obj object The object to compare against
리턴 bool

GetHashCode() 공개 메소드

HashCode override
public GetHashCode ( ) : int
리턴 int

RosetteRelationship() 공개 메소드

Creates a grammatical relationship. Temporary EntityIDs, ordered "T0", "T1"..., are added to the argument strings in an ArgumentsFull property.
public RosetteRelationship ( String predicate, List arguments, List temporals, List locatives, List adjunts, Nullable confidence ) : System
predicate String The main action or verb acting on the first argument, or the action connecting multiple arguments.
arguments List One or more arguments in the relationship
temporals List Time frames of the action. May be empty.
locatives List Locations of the action. May be empty.
adjunts List All other parts of the relationship. May be empty.
confidence Nullable A score for each relationship result, ranging from 0 to 1. You can use this measurement as a threshold to filter out undesired results.
리턴 System

RosetteRelationship() 공개 메소드

Creates a grammatical relationship
public RosetteRelationship ( string predicate, string>.Dictionary arguments, string>.Dictionary IDs, List temporals, List locatives, List adjunts, Nullable confidence, HashSet modalities ) : System
predicate string The main action or verb acting on the first argument, or the action connecting multiple arguments.
arguments string>.Dictionary The mention(s), mapped to the argument number, of one or more arguments in the relationship
IDs string>.Dictionary The IDs of the arguments, mapped to the corresponding argument number. The ID with key 1 should correspond to the argument with key 1.
temporals List Time frames of the action. May be empty.
locatives List Locations of the action. May be empty.
adjunts List All other parts of the relationship. May be empty.
confidence Nullable A score for each relationship result, ranging from 0 to 1. You can use this measurement as a threshold to filter out undesired results.
modalities HashSet The modalities of the relationship.
리턴 System

RosetteRelationship() 공개 메소드

Creates a grammatical relationship
public RosetteRelationship ( string predicate, List arguments, List temporals, List locatives, List adjunts, Nullable confidence, HashSet modalities ) : System
predicate string The main action or verb acting on the first argument, or the action connecting multiple arguments.
arguments List The arguments in the relationship
temporals List Time frames of the action. May be empty.
locatives List Locations of the action. May be empty.
adjunts List All other parts of the relationship. May be empty.
confidence Nullable A score for each relationship result, ranging from 0 to 1. You can use this measurement as a threshold to filter out undesired results.
modalities HashSet The modalities of the relationship.
리턴 System

ToString() 공개 메소드

ToString override. Writes this RosetteRelationship in JSON form
public ToString ( ) : string
리턴 string