C# 클래스 mergedServices.imageGrapper

the glass grabs an image for the given entity URI
파일 보기 프로젝트 열기: sherifkandeel/weet-it_WCF

공개 메소드들

메소드 설명
get_fb_link ( string dbpedialink, E imgsize ) : string

this one will get freebaseimage directly without checking dbpedia link

retrieve_img ( string dbpediaUri, E imgsize = E.small ) : List

this function will check first for dbpedia image link

비공개 메소드들

메소드 설명
check_link ( string dbpedialink ) : bool

메소드 상세

get_fb_link() 공개 정적인 메소드

this one will get freebaseimage directly without checking dbpedia link
public static get_fb_link ( string dbpedialink, E imgsize ) : string
dbpedialink string e.g http://dbpedia.org/resource/Syria
imgsize E
리턴 string

retrieve_img() 공개 정적인 메소드

this function will check first for dbpedia image link
public static retrieve_img ( string dbpediaUri, E imgsize = E.small ) : List
dbpediaUri string e.g http://dbpedia.org/resource/Egypt
imgsize E max sizeof the image required
리턴 List