C# 클래스 mergedServices.KwSearch

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

공개 메소드들

메소드 설명
GetUris_VsKeyword_comma ( string text ) : string

takes a vs separated keywords and finds best matching uri for each of them

GetUris_VsKeywords ( string text ) : List

takes a vs separated keywords and finds bets matching uri for each of them

geturi ( string keyword, int MaxUris = 1 ) : List

gets the top n uris that best matches the given keyword ,you can specify MaxURis with 1 to get the best matching one ///

geturi ( string keyword ) : string

get the uri that best matches given keyword(it can be a multiple word keyword), to get the top n matches for the given keyword, please use the overloaded method geturi(string keyworn,in MaxUris)

geturis_List ( List keywords ) : List

same function as geturi(string keyword) but takes a list of keywords as an argument,it finds the best matching uri for every keyword in the list

geturis_List_WithMaxuris ( List keywords, int MaxUris ) : List>

takes a list of keywords and returns -for each keyword- A list of best matching uris,

비공개 메소드들

메소드 설명
Find_URIs ( string keyword, int MaxUris ) : List
bifcont_generator ( string keyword ) : string

generates the sparql bifcontains syntax for multiple word keywords

bifcont_generator1 ( string keyword ) : string
computeLevenshteinDistance ( string s, string t ) : int
scorecalc ( string keyword, SparqlResult singleuri ) : int

메소드 상세

GetUris_VsKeyword_comma() 공개 정적인 메소드

takes a vs separated keywords and finds best matching uri for each of them
public static GetUris_VsKeyword_comma ( string text ) : string
text string string to be split
리턴 string

GetUris_VsKeywords() 공개 정적인 메소드

takes a vs separated keywords and finds bets matching uri for each of them
public static GetUris_VsKeywords ( string text ) : List
text string string to be split
리턴 List

geturi() 공개 정적인 메소드

gets the top n uris that best matches the given keyword ,you can specify MaxURis with 1 to get the best matching one ///
public static geturi ( string keyword, int MaxUris = 1 ) : List
keyword string keyword to get uri for
MaxUris int the number of top rated uris to get
리턴 List

geturi() 공개 정적인 메소드

get the uri that best matches given keyword(it can be a multiple word keyword), to get the top n matches for the given keyword, please use the overloaded method geturi(string keyworn,in MaxUris)
public static geturi ( string keyword ) : string
keyword string
리턴 string

geturis_List() 공개 정적인 메소드

same function as geturi(string keyword) but takes a list of keywords as an argument,it finds the best matching uri for every keyword in the list
public static geturis_List ( List keywords ) : List
keywords List The List of keywords to get best matching uris for
리턴 List

geturis_List_WithMaxuris() 공개 정적인 메소드

takes a list of keywords and returns -for each keyword- A list of best matching uris,
public static geturis_List_WithMaxuris ( List keywords, int MaxUris ) : List>
keywords List List of keywords to get top n matching uris for each one
MaxUris int List of lists containing a list of best matching uris for each keyword given
리턴 List>