Skip to content

Commit

Permalink
fix translate.pm to use storable wordnet
Browse files Browse the repository at this point in the history
  • Loading branch information
Annette Rios committed Jul 27, 2017
1 parent 4383b4f commit b9c1f87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MT_systems/translate.pm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# - atm: input needs to be 1 sentence per line:
# --> for automatic sentence splitting, do we want to use FreeLing or the sentence splitter from the Lingua package?
# -> freeling gseht besser us, erkennt titel...
# TODO: new freeling version 3.1 -> outlvl=morfo -> no named entity classification -> need another server for nec after tagging!!
# new freeling version 3.1 -> outlvl=morfo -> no named entity classification -> need another server for nec after tagging!!

package squoia::translate;
our $path;
Expand Down Expand Up @@ -826,7 +826,7 @@ if($startTrans<$mapInputFormats{'svm'}) # 11)
}
or die "Lexical transfer failed, location of wordnet not indicated (set option wordnet in config or use --wordnet on commandline)!\n";
}
if($wordnet ne ''){
if($wordnet ne '' and $wordnet ne 'storable' ){
print STDERR "reading wordnet from file specified in $config: ".$config{$wordnet}."\n";
my $spa2ilimap = "$wordnet/spaWN/wei_spa-30_to_ili.tsv";
my $ilirecord = "$wordnet/data/wei_ili_record.tsv";
Expand Down

0 comments on commit b9c1f87

Please sign in to comment.