function list
1. bool HowNet_Initial ( void );     To initialize the data in HowNet.
2. DWORD HowNet_GetUnitNum( void );     To get the total number of the records in HowNet dictionary.
3. WORD HowNet_Search_Keyword ( char* ApStr , S_SEARCH_MODE sHowNet_SearchMode );     To search according to the given keyword (search mode group1 in HowNet Browser).
4. WORD HowNet_Search_Relation ( DWORD AdwUnitID , S_SEARCH_MODE sSearchMode );     To search the relations according to serial number(search mode group2 & 3 in HowNet Browser).
5. char* HowNet_Get_Unit_Item( const DWORD AdwUnitID , const BYTE AItemID , char* ApRlt );     To get a specific part of a specific record ( such as: serial number of the specific record, Chinese word or expression, POS of Chinese word or expression, example of Chinese word or expression, English word or phrase, POS of English word or phrase, example of English word or phrase, definition of the specific record).
6. int HowNet_Search_Node_In_Tax_Tree( BYTE AnTree , const char *ApKeyword , BYTE* ApLayerPos = NULL );     Get the depth of the specified sememe in one Taxonomy tree.
7. void HowNet_GetOneNodeContent ( BYTE AnTree , WORD AnNode , BYTE AContentID , char* ApNodeContent );     Get the sememe's string according to the specified depth in one Taxonomy tree.
8. WORD HowNet_Get_Sememe_Code( const char *ApKeyword );     To get the code of a sememe in HowNet taxonomies.
9. char* HowNet_Get_Sememe_String( WORD AwSememeCode );     To get the sememe string by input one sememe code.
10. WORD HowNet_Get_Sememe_Hyp( WORD AwSememeCode );     To get the hypernym of one sememe.
11. BYTE HowNet_Get_TreeID( WORD AwSememeCode );     To get the Taxonomy TreeID of one sememe.
12. WORD HowNet_Get_Sememe_Location( WORD AwSememeCode );     To get the location in the Taxonomy Tree of one sememe.
13. WORD HowNet_Get_Concept_Relevance( DWORD AdwUnitID , BYTE ALanguageID , BYTE ALevelID );     To obtain the relevant concept field of a specified concept.
14. BYTE HowNet_Get_Smemme_Distance( WORD AwSememeCodeA, WORD AwSememeCodeB );     To measure the distance between two sememes.
15. double HowNet_Get_Smemme_Similarity( WORD AwSememeCodeA, WORD AwSememeCodeB );     To measure the similarity between the frames of two sememes.
16. double HowNet_Get_Concept_Similarity( DWORD AdwUnitIDA, DWORD AdwUnitIDB, float AfA = 1.6, float AfB1 = 0.1, float AfB2 = 0.1, float AfB3 = 0.7, float AfB4 = 0.1 );     To measure the similarity between two concepts.
|