Skip to content

Commit

Permalink
Fix russian dict to accomadate new cost computations
Browse files Browse the repository at this point in the history
The pull req opencog#1456 broke the existing russian dict.
This fixes it.  Seems that a cost cutoff of 3.1 is too low,
as it rejects many good linkages that come from
[[FOO]] & [[BAR]] disjuncts. a cutoff of 4.1 allows these,
while rejecting the cost-6 linkages that ruin corpus-basic.

As of now, I get 45 errors in ru/corpus-basic.batch which is
two less than the 47 that I got, before merging opencog#1450
  • Loading branch information
linas committed Feb 25, 2023
1 parent 9c1da19 commit 23ef269
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions data/ru/4.0.dict
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
%%
%% This file uses the utf8 encoding

#define dictionary-version-number 5.11.0;
#define dictionary-version-number 5.12.1;
#define dictionary-locale ru_RU.UTF-8;
#define max-disjunct-cost 2.7;
#define panic-max-disjunct-cost 4.0;
#define max-disjunct-cost 4.1;
#define panic-max-disjunct-cost 4.1;

<costly-null>: [[[[]]]];

Expand Down

0 comments on commit 23ef269

Please sign in to comment.