C# 클래스 mergedServices.QueryBucket

파일 보기 프로젝트 열기: sherifkandeel/weet-it_WCF 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
literalOnly bool
questionLeft string
tokens List

공개 메소드들

메소드 설명
ContainsQueryPart ( string queryPart ) : bool
ContainsTokenWithSameIdentifier ( LexiconToken token ) : bool

Checks if there is a token already exists in the consumed tokens list that has same identifier

ContainsTokenWithSameURIs ( LexiconToken token ) : bool

Checks if there is a token already exists in the consumed tokens list that connects the same URIs (has same range and domain)

EqualSolution ( QueryBucket bucket2 ) : bool
GetQuery ( ) : void
QueryBucket ( QueryBucket bucket ) : System

a constructor taking another bucket to simple clone it here

QueryBucket ( string question, util type ) : System

constructor

add ( LexiconToken token ) : bool

adds a new token to the bucket

getPermutations ( string questionLeft ) : List

gets the permutations based on the "_" and ""

비공개 메소드들

메소드 설명
questionMatch ( string input ) : string

Matches the question of the new token with the questionleft in the bucekt "_" and oneword is supported

메소드 상세

ContainsQueryPart() 공개 메소드

public ContainsQueryPart ( string queryPart ) : bool
queryPart string
리턴 bool

ContainsTokenWithSameIdentifier() 공개 메소드

Checks if there is a token already exists in the consumed tokens list that has same identifier
public ContainsTokenWithSameIdentifier ( LexiconToken token ) : bool
token LexiconToken the token to compare to
리턴 bool

ContainsTokenWithSameURIs() 공개 메소드

Checks if there is a token already exists in the consumed tokens list that connects the same URIs (has same range and domain)
public ContainsTokenWithSameURIs ( LexiconToken token ) : bool
token LexiconToken the lexicon token to compare to
리턴 bool

EqualSolution() 공개 메소드

public EqualSolution ( QueryBucket bucket2 ) : bool
bucket2 QueryBucket
리턴 bool

GetQuery() 공개 메소드

public GetQuery ( ) : void
리턴 void

QueryBucket() 공개 메소드

a constructor taking another bucket to simple clone it here
public QueryBucket ( QueryBucket bucket ) : System
bucket QueryBucket the query bucket to clone it here
리턴 System

QueryBucket() 공개 메소드

constructor
public QueryBucket ( string question, util type ) : System
question string the question of the query bucket
type util
리턴 System

add() 공개 메소드

adds a new token to the bucket
public add ( LexiconToken token ) : bool
token LexiconToken the token to add to the bucket
리턴 bool

getPermutations() 공개 메소드

gets the permutations based on the "_" and ""
public getPermutations ( string questionLeft ) : List
questionLeft string the input questionLeft
리턴 List

프로퍼티 상세

literalOnly 공개적으로 프로퍼티

public bool literalOnly
리턴 bool

questionLeft 공개적으로 프로퍼티

public string questionLeft
리턴 string

tokens 공개적으로 프로퍼티

public List tokens
리턴 List