From: <chr...@us...> - 2012-01-05 13:54:14
|
Revision: 3527 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=3527&view=rev Author: christinaunger Date: 2012-01-05 13:54:07 +0000 (Thu, 05 Jan 2012) Log Message: ----------- [tbsl] fixed entry for "highest" Modified Paths: -------------- trunk/components-ext/src/main/java/org/dllearner/algorithm/tbsl/sem/drs/DRS.java trunk/components-ext/src/main/resources/tbsl/lexicon/english.lex Modified: trunk/components-ext/src/main/java/org/dllearner/algorithm/tbsl/sem/drs/DRS.java =================================================================== --- trunk/components-ext/src/main/java/org/dllearner/algorithm/tbsl/sem/drs/DRS.java 2012-01-04 15:01:50 UTC (rev 3526) +++ trunk/components-ext/src/main/java/org/dllearner/algorithm/tbsl/sem/drs/DRS.java 2012-01-05 13:54:07 UTC (rev 3527) @@ -505,7 +505,7 @@ drs1.replaceReferent(oldV,newV); } - // Hack: If it looks the same, it is the same. + // If it looks the same, it is the same. DRS_Constructor dc = new DRS_Constructor(); if (dc.construct(drs1.toString()).equals(dc.construct(drs2.toString()))) { Modified: trunk/components-ext/src/main/resources/tbsl/lexicon/english.lex =================================================================== --- trunk/components-ext/src/main/resources/tbsl/lexicon/english.lex 2012-01-04 15:01:50 UTC (rev 3526) +++ trunk/components-ext/src/main/resources/tbsl/lexicon/english.lex 2012-01-05 13:54:07 UTC (rev 3527) @@ -84,8 +84,8 @@ the most || (DET DET:'the' DET:'most') || <y, l1, e, [ l1:[ | l2:[ y | ] THEMOST y l3:[|] ] ], [], [],[]> the least || (DET DET:'the' DET:'least') || <y, l1, e, [ l1:[ | l2:[ y | ] THELEAST y l3:[|] ] ], [], [],[]> - // CHEAT! - highest || (NP ADJ:'highest' NP*) || <x, l1, e, [ l1:[ | maximum(x) ] ], [], [],[]> ;; <x, l1, e, [ l1:[ j | SLOT_high(x,j), maximum(j) ] ],[],[],[ SLOT_high/PROPERTY/height^elevation ]> + // NECESSARY "CHEAT" + highest || (NP ADJ:'highest' NP*) || <x, l1, e, [ l1:[ | maximum(x) ] ], [], [],[]> ;; <x, l1, e, [ l1:[ j | SLOT_high(x,j), maximum(j) ] ],[],[],[ SLOT_high/PROPERTY/height ]> // COUNT more than || (DP DET:'more' DET:'than' NUM[num] NP[np]) || <y,l1,<<e,t>,t>,[ l1:[ y,c | count(y,c), greater(c,z) ] ],[(l2,y,np,<e,t>),(l3,z,num,e)],[l2=l1,l3=l1],[]> ;; <y,l1,<<e,t>,t>,[ l1:[ y | greater(y,z) ] ],[(l2,y,np,<e,t>),(l3,z,num,e)],[l2=l1,l3=l1],[]> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |