Hi,
now the script runs a bit further, but stops at:

testvoc_sv-da.sh: 20:  sed: not found
testvoc_sv-da.sh: 20:  apertium-transfer: not found
testvoc_sv-da.sh: 20:  lt-proc: not found

Do I have to run the script in a certain folder or can I simply add the
paths? Where can I find the missing programs?

Yours,
Per Tunedal



On Tue, Sep 11, 2012, at 10:41, Francis Tyers wrote:
> El dt 11 de 09 de 2012 a les 09:38 +0200, en/na Per Tunedal va escriure:
> > Hi,
> > I urgently need help with the check of internal consistency to continue
> > my work on Danish (da)-Swedish (sv). Please explain the script!
> > 
> > I'm attending a course in Norwegian at the University and would have to
> > finish with the Danish this very week. I need to concentrate on the
> > Norwegian from next week on.
> > 
> > Yours,
> > Per Tunedal
> > 
> > On Mon, Sep 10, 2012, at 08:42, Per Tunedal wrote:
> > > 
> > > Hi,
> > > In my opinion, the most sensible way to quickly fix the translation
> > > da-sv is to run a voctest and fix the errors. I plan to first check for
> > > internal consistency to find the most blatant errors to fix. Later I
> > > plan to test on some text (might be useful to find out if any tranfer
> > > rules would be needed, too).
> > > 
> > > Unfortunately, I haven't managed to adjust the simple script at
> > > http://wiki.apertium.org/wiki/Testvoc for my needs. I'm stuck at the
> > > error message:
> > > 
> > > Error: can't stat file
> > > '/home/per/Repository/apertium-sv-da/apertum-sv-da.sv-da.t1x'
> 
> do: 
> 
> $ svn info /home/per/Repository/apertium-sv-da/
> 
> > > As I cannot fully understand the code, I'm not sure if the offending
> > > file is expected to be present in the apertium-sv-da from the beginning,
> > > or if it is expected to be created by running the script. I've looked
> > > for the file, but haven't found it anywhere. Anyhow, I end up with empty
> > > after-transfer.txt and after-generation.txt files.
> 
> The file is in SVN, in the usual place.
> 
> https://apertium.svn.sourceforge.net/svnroot/apertium/trunk/apertium-sv-da/apertium-sv-da.sv-da.t1x
> 
> > > I've tried lt-expand ${MONODIX} and it works. I've tested to run
> > > lt-expand ${MONODIX} > start.txt and then
> > > 
> > > apertium -d /home/per/Repository/apertium-sv-da sv-da start.txt ut.txt
> > > 
> > > This results in a large file that needs some after processing for
> > > extracting the offending lines,  containing error symbols.
> 
> That won't work, because it will run the morphological analysis again,
> and will also escape the symbols. Also, the surface forms will translate
> but you will get only one of the possible translations of ambiguous
> words.
> 
> Fran
> 
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Apertium-stuff mailing list
> Apertium-stuff@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/apertium-stuff

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Apertium-stuff mailing list
Apertium-stuff@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to