Hi Folks,
I submitted a PR to implement OS compatibility running on Mac OSX.
https://github.com/joshua-decoder/fisher-callhome-corpus/pull/1
@Fernando I cannot reproduce your issue...
I do however encounter the following issue

lmcgibbn@LMC-056430 /usr/local/joshua_resources/joshua-tutorial $
$JOSHUA/bin/pipeline.pl --rundir 1 --readme "Baseline Hiero run" --source
es --target en --type hiero --corpus $FISHER/corpus/ldc/fisher_train --tune
$FISHER/corpus/ldc/fisher_dev --test $FISHER/corpus/ldc/fisher_dev2
--maxlen 11 --maxlen-tune 11 --maxlen-test 11 --tuner-iterations 1
--lm-order 3
...
[thrax-run] rebuilding...

dep=/usr/local/joshua_resources/joshua-tutorial/1/data/train/thrax-input-file
[CHANGED]
  dep=thrax-hiero.conf [CHANGED]
  dep=grammar.gz [NOT FOUND]
  cmd=hadoop jar /usr/local/incubator-joshua/thrax/bin/thrax.jar -D
mapreduce.task.timeout=0 -D mapreduce.map.java.opts='-Xmx4g' -D
mapreduce.reduce.java.opts='-Xmx4g' -D hadoop.tmp.dir=/tmp thrax-hiero.conf
pipeline-es-en-hiero-_usr_local_joshua_resources_joshua-tutorial_1 >
thrax.log 2>&1; rm -f grammar grammar.gz; hadoop fs -cat
pipeline-es-en-hiero-_usr_local_joshua_resources_joshua-tutorial_1/final/*
| gzip -cd | /usr/local/incubator-joshua/scripts/training/filter-rules.pl
-t 100 | gzip -9n > grammar.gz
  took 201 seconds (3m21s)
16/11/17 20:09:04 WARN util.NativeCodeLoader: Unable to load native-hadoop
library for your platform... using builtin-java classes where applicable
16/11/17 20:09:05 INFO Configuration.deprecation: io.bytes.per.checksum is
deprecated. Instead, use dfs.bytes-per-checksum
16/11/17 20:09:05 INFO fs.TrashPolicyDefault: Namenode trash configuration:
Deletion interval = 0 minutes, Emptier interval = 0 minutes.
Deleted pipeline-es-en-hiero-_usr_local_joshua_resources_joshua-tutorial_1
[pack-grammar] rebuilding...

dep=/usr/local/joshua_resources/joshua-tutorial/1/grammar.packed/vocabulary
[NOT FOUND]
  dep=/usr/local/joshua_resources/joshua-tutorial/1/grammar.packed/encoding
[NOT FOUND]

dep=/usr/local/joshua_resources/joshua-tutorial/1/grammar.packed/slice_00000.source
[NOT FOUND]
  cmd=/usr/local/incubator-joshua/scripts/support/grammar-packer.pl -a -T
/tmp -m 8g -g grammar.gz -o
/usr/local/joshua_resources/joshua-tutorial/1/grammar.packed
  took 80 seconds (1m20s)
[lm-sort-uniq] rebuilding...
  dep=/usr/local/joshua_resources/joshua-tutorial/1/data/train/corpus.en
[CHANGED]

dep=/usr/local/joshua_resources/joshua-tutorial/1/data/train/corpus.en.uniq
[NOT FOUND]
  cmd=/usr/local/incubator-joshua/scripts/training/scat
/usr/local/joshua_resources/joshua-tutorial/1/data/train/corpus.en | sort
-u -T /tmp -S 8G | gzip -9n >
/usr/local/joshua_resources/joshua-tutorial/1/data/train/corpus.en.uniq
  took 1 seconds (1s)
* FATAL: /usr/local/incubator-joshua/bin/lmplz (for building LMs) does not
exist.
  This is often a problem with the boost libraries (particularly threaded
  versus unthreaded).

We no longer have the $JOSHUA/bin/lmplz script... so we need to address
this.

On Thu, Nov 17, 2016 at 7:10 PM, lewis john mcgibbney <lewi...@apache.org>
wrote:

> Hi Fernando,
> First and foremost please give y regards to the GATE team at Sheffield. I
> spent a great week down there a number of years back and I am fond of the
> place.
> Are you following the tutorial at https://cwiki.apache.org/
> confluence/display/JOSHUA/Joshua+Tutorial ?
> If so then I'll try it out and see if I can reproduce.
> Lewis
>
> On Thu, Nov 17, 2016 at 9:38 AM, <user-digest-help@joshua.
> incubator.apache.org> wrote:
>
>> From: Fernando E Alva Manchego <fealvamanche...@sheffield.ac.uk>
>> To: user@joshua.incubator.apache.org
>> Cc:
>> Date: Thu, 17 Nov 2016 17:37:53 +0000
>> Subject: Error while running the tutorial
>> Hello!
>>
>> I'm running the tutorial (phrase) and the following error came up:
>>
>> Error: Could not find or load main class org.apache.joshua.tools.Gramma
>> rPackerCli
>>
>> When I installed Joshua, I ran the tests and everything was OK. Do you
>> have any idea what might be happening? Thank you.
>>
>>
>>


-- 
http://home.apache.org/~lewismc/
@hectorMcSpector
http://www.linkedin.com/in/lmcgibbney

Reply via email to