Hi,
I encountered the same error message when testing my own bidix with:

echo "^vide$" | lt-proc -b da-sv.autobil.bin

BTW Is this the right way to test a bidix? What should I put on the left
side and echo to lt-proc?

I got a message that there was en empty leftside, too. And tried to find
it in vain ...

I'll try your suggestion.

Yours,
Per Tunedal

On Thu, Oct 11, 2012, at 08:48, Francis Tyers wrote:
> El dc 10 de 10 de 2012 a les 22:12 +0200, en/na Per Tunedal va escriure:
> > Hi,
> > I started again with apertium and the pair Swedish (se) to Danish (da).
> > I did some changes and compiled the dictionaries, but now the direction
> > Swedish to Danish didn't work:
> > 
> > lt-proc: process a stream ...
> > 
> > I've changed the name of my bidix and done a svn up, but the problems
> > persists with the original dictionary. Obviously, it's not my fault.
> > 
> > Yours,
> > Per Tunedal
> 
> Yes, I commented on this a few weeks ago. There is an empty left side in
> the bilingual dictionary. I spent a few minutes trying to find it, but
> couldn't. I just spent another few minutes now and couldn't either. 
> 
> $ echo "år" | apertium -d . sv-da
> Error: Invalid dictionary (hint: the left side of an entry is empty)
> 
> $ echo "år" | apertium -d . da-sv
> Error: Invalid dictionary (hint: the left side of an entry is empty)
> 
> The code that produces this error is:
> 
>   if(initial_state->isFinal(all_finals))
>   {
>     wcerr << L"Error: Invalid dictionary (hint: the left side of an
> entry is empty)" << endl;
>     return false;
>   }
> 
> But if I search for empty entries:
> 
> $ lt-expand apertium-sv-da.sv-da.dix | grep '^:' | wc -l
> 0
> 
> $ lt-expand apertium-sv-da.sv-da.dix | grep ':$' | wc -l
> 0
> 
> No joy.
> 
> So, it should be possible to check if we're setting an initial state to
> final during the compilation process.
> 
> But, it's ok, because I just found the problem. It's the 
> 
> <pardef n="grun/d_rund__adj">
>   <e>       <p><l></l>          <r></r></p></e>
> </pardef>
> 
> paradigm.
> 
> If you remove this, and any calls to it (there are three), then the
> dictionary should compile.
> 
> Fran
> 
> 
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> Apertium-stuff mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/apertium-stuff

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to