Skip to content

Commit

Permalink
Fix primary word
Browse files Browse the repository at this point in the history
  • Loading branch information
spencertipping committed Nov 6, 2010
1 parent 372e13e commit 1df7b86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fcm/similarity
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ for (grep ! /-connected$/, @blocks) {
my ($w, %links) = split;
if (my $count = $vocabulary{$w}) {
for my $k (keys %links) {
print $new_block "$_ $count ", join(' ', map "$_ $links{$_}", grep $_ ne $k, keys %links), "\n";
print $new_block "$k $count ", join(' ', map "$_ $links{$_}", grep $_ ne $k, keys %links), "\n";
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion fcm/similarity.sdoc
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ for (grep ! /-connected$/, @blocks) {
my ($w, %links) = split;
if (my $count = $vocabulary{$w}) {
for my $k (keys %links) {
print $new_block "$_ $count ", join(' ', map "$_ $links{$_}", grep $_ ne $k, keys %links), "\n";
print $new_block "$k $count ", join(' ', map "$_ $links{$_}", grep $_ ne $k, keys %links), "\n";
}
}
}
Expand Down

0 comments on commit 1df7b86

Please sign in to comment.