'; printf('
',$word); echo ''; echo '
'; echo '
'; echo '

'; ?> Hyponyms

Welcome to our internet hyponyms database

Terms of use

Access to and use of this site is subject to the following terms:
This website and the materials on this website are provided "as is". Any information obtained through use of this site is provided without warrant. We do not guarantee access to this site. While we take measured steps to ensure the correctness of the resources provided, we do not guarantee the accuracy, currency or completeness of any information on our site. We are not responsible for the direct, indirect, consequential or incidental damages of any sort arising from accessing or using our site or reliance on the information available on our site.
The database is based on Princeton University WordNet.

Contact

Feel free to contact us at: rhymes@lexemic.com





'); } else { $link = mysql_connect ("localhost", "lexemicz_user", "iIq8H0L4UI0FcHIZpJUV"); if (!$link) { die('Could not connect: ' . mysql_error()); } mysql_select_db ("lexemicz_main"); mysql_query('set names latin1' ); // DEFINITION $query=sprintf("select sense.synsetid, word.lemma, synset.pos, synset.definition from word left join sense on word.wordid=sense.wordid left join synset on sense.synsetid=synset.synsetid where word.lemma='%s' order by synset.pos ",mysql_real_escape_string($word)); $result = mysql_query($query); if ( mysql_num_rows($result)==0) printf("
Word: %s not found!", $word); while ($row = mysql_fetch_array($result, MYSQL_NUM)) { printf("Word: %s (%s)
Definition: %s
", $row[1], $row[2], $row[3]); $synsetid=$row[0]; // SYNONYMS $query2=sprintf("select lemma from word where wordid in (select wordid from sense where synsetid='%s')",$synsetid); $result2 = mysql_query($query2); if ( mysql_num_rows($result2)==0) printf(""); else printf("Synonyms: "); while ($row2 = mysql_fetch_array($result2, MYSQL_NUM)) { printf("%s; ", $row2[0]); } if ( mysql_num_rows($result2)!=0) printf("
"); mysql_free_result($result2); // ANTONYM $query3=sprintf("select se1.rank, w2.lemma, sy1.definition, sy2.definition from word w1 left join sense se1 on w1.wordid = se1.wordid left join synset sy1 on se1.synsetid = sy1.synsetid left join lexlinkref on sy1.synsetid = lexlinkref.synset1id and w1.wordid = lexlinkref.word1id left join synset sy2 on lexlinkref.synset2id = sy2.synsetid left join sense se2 on sy2.synsetid = se2.synsetid left join word w2 on se2.wordid = w2.wordid where lexlinkref.linkid =30 and sy1.synsetid='%s' ",$synsetid); $result3 = mysql_query($query3); if ( mysql_num_rows($result3)!=0) printf("Antonyms: "); while ($row3 = mysql_fetch_array($result3, MYSQL_NUM)) { printf("%s; ", $row3[1]); } if ( mysql_num_rows($result3)!=0) printf("
"); mysql_free_result($result3); // HYPERNYMS $query4=sprintf("select se1.rank,w2.lemma from word w1 left join sense se1 on w1.wordid = se1.wordid left join synset sy1 on se1.synsetid = sy1.synsetid left join semlinkref on sy1.synsetid = semlinkref.synset1id left join synset sy2 on semlinkref.synset2id = sy2.synsetid left join sense se2 on sy2.synsetid = se2.synsetid left join word w2 on se2.wordid = w2.wordid where sy1.synsetid='%s' and semlinkref.linkid = 1",$synsetid); $result4 = mysql_query($query4); if ( mysql_num_rows($result4)!=0) printf("Hypernyms: "); while ($row4 = mysql_fetch_array($result4, MYSQL_NUM)) { printf("%s; ", $row4[1]); } if ( mysql_num_rows($result4)!=0) printf("
"); mysql_free_result($result4); // HYPONYMS $query5=sprintf("select se1.rank,w2.lemma from word w1 left join sense se1 on w1.wordid = se1.wordid left join synset sy1 on se1.synsetid = sy1.synsetid left join semlinkref on sy1.synsetid = semlinkref.synset1id left join synset sy2 on semlinkref.synset2id = sy2.synsetid left join sense se2 on sy2.synsetid = se2.synsetid left join word w2 on se2.wordid = w2.wordid where sy1.synsetid='%s' and semlinkref.linkid = 2",$synsetid); $result5 = mysql_query($query5); if ( mysql_num_rows($result5)!=0) printf("Hyponyms: "); while ($row5 = mysql_fetch_array($result5, MYSQL_NUM)) { printf("%s; ", $row5[1]); } if ( mysql_num_rows($result5)!=0) printf("
"); mysql_free_result($result5); // EXAMPLE $query3=sprintf("select sample.sample from sample where synsetid='%s'",$synsetid); $result3 = mysql_query($query3); if ( mysql_num_rows($result3)!=0) printf("Example: "); while ($row3 = mysql_fetch_array($result3, MYSQL_NUM)) { printf("%s ", $row3[0]); } if ( mysql_num_rows($result3)!=0) printf('
'); mysql_free_result($result3); printf('


'); } } printf('