[CWB] cwb-align-import -r issue

Stefan Evert stefanML at collocations.de
Tue Mar 7 15:53:34 CET 2017


> On 7 Mar 2017, at 15:38, Hugo SG <hsang at unileon.es> wrote:
> 
> Yeah I think the same but I don't find where /usr/local/bin/cwb-s-decode-r is called in cwb-align-import script ( which is located into /usr/local/bin/). Because I only execute cwb-align-import command, no more.

It doesn't get called at all by current versions of cwb-align-import – you should install a current version of the CWB/Perl interface from the SVN repository.

The bug is probably on line 218 of the script.  Change

	$decode_cmd .= "-r '$Opt_Registry'" if $Opt_Registry; 

to 

	$decode_cmd .= " -r '$Opt_Registry'" if $Opt_Registry; 

(note the blank before -r) and thinks should work again.

Best,
Stefan


More information about the CWB mailing list