Thank you Francis!
I've corrected one thing my self: change a coarse tag.
But this one I don't understand:
per@Pers-debian:~/apertium-sv-da$ make -f sv-da-unsupervised.make
apertium-validate-tagger apertium-sv-da.sv.tsx
apertium-tagger -t 8 \
sv-tagger-data/sv.dic \
sv-tagger-data/sv.crp \
apertium-sv-da.sv.tsx \
sv-da.prob;
Calculating ambiguity classes...
97 states and 98 ambiguity classes
Kupiec's initialization of transition and emission probabilities...
Error: A new ambiguity class was found. I cannot continue.
Word 'en' not found in the dictionary.
New ambiguity class: {DETIND,NUM}
Take a look at the dictionary and at the training corpus. Then, retrain.
make: *** [sv-da.prob] Fel 1
Yours,
Per Tunedal
On Wed, Jan 15, 2014, at 14:44, Francis Tyers wrote:
> Ok, I've fixed the file, SVN up.
>
> F.
>
> El dc 15 de 01 de 2014 a les 13:37 +0000, en/na Francis Tyers va
> escriure:
> > You've added more typos, and broken the XML again... You can fix it by
> > going through the file and making sure it is valid XML. If you commit it
> > to SVN, I will go through it for you, but in future you should probably
> > try making small changes, and validating after each change. Because then
> > you will have more chance of spotting what you've got wrong.
> >
> > Fran
> >
> > El dc 15 de 01 de 2014 a les 14:18 +0100, en/na Per Tunedal va escriure:
> > > Hi Francis,
> > > Hmm ... I've removed all comments, but it still doesn't work.
> > >
> > > per@Pers-debian:~/apertium-sv-da$ make -f sv-da-unsupervised.make
> > > apertium-validate-tagger apertium-sv-da.sv.tsx
> > > apertium-sv-da.sv.tsx:911: parser error : Opening and ending tag
> > > mismatch: forbid line 218 and label-sequence
> > > </label-sequence>
> > > ^
> > > apertium-sv-da.sv.tsx:926: parser error : Opening and ending tag
> > > mismatch: tagger line 2 and label-sequence
> > > </label-sequence>
> > > ^
> > > apertium-sv-da.sv.tsx:927: parser error : Extra content at the end of
> > > the document
> > > <label-sequence>
> > > ^
> > > make: *** [sv-da.prob] Fel 1
> > >
> > > Did I correct the wrong file or did I add more typos?
> > >
> > > Yours,
> > > Per Tunedal
> > >
> > > On Wed, Jan 15, 2014, at 13:17, Francis Tyers wrote:
> > > > No problem. For this error I would recommend making a backup copy of
> > > > your TSX file, then trying with a version without any comments or
> > > > commented out code in it.
> > > >
> > > > Fran
> > > >
> > > > El dc 15 de 01 de 2014 a les 11:07 +0100, en/na Per Tunedal va escriure:
> > > > > Hi Francis,
> > > > > Thank you for fixing my typos.
> > > > >
> > > > > New error:
> > > > >
> > > > > per@Pers-debian:~/apertium-sv-da$ make -f sv-da-unsupervised.make
> > > > > Generating sv-tagger-data/sv.dic
> > > > > This may take some time. Please, take a cup of coffee and come back
> > > > > later.
> > > > > apertium-validate-dictionary apertium-sv-da.sv.dix
> > > > > apertium-validate-tagger apertium-sv-da.sv.tsx
> > > > > lt-expand apertium-sv-da.sv.dix | grep -v "__REGEXP__" | grep -v ":<:"
> > > > > |\
> > > > > awk 'BEGIN{FS=":>:|:"}{print $1 ".";}' | apertium-destxt
> > > > > >sv.dic.expanded
> > > > > lt-proc -a sv-da.automorf.bin <sv.dic.expanded | \
> > > > > apertium-filter-ambiguity apertium-sv-da.sv.tsx >
> > > > > sv-tagger-data/sv.dic
> > > > > Error: (137): '<#comment>' tag unexpected.
> > > > > make: *** [sv-tagger-data/sv.dic] Fel 1
> > > > > per@Pers-debian:~/apertium-sv-da$ make -f sv-da-unsupervised.make
> > > > > apertium-destxt < sv-tagger-data/sv.crp.txt | lt-proc
> > > > > sv-da.automorf.bin
> > > > > > sv-tagger-data/sv.crp
> > > > > apertium-validate-tagger apertium-sv-da.sv.tsx
> > > > > apertium-tagger -t 8 \
> > > > > sv-tagger-data/sv.dic \
> > > > > sv-tagger-data/sv.crp \
> > > > > apertium-sv-da.sv.tsx \
> > > > > sv-da.prob;
> > > > > Error: (137): '<#comment>' tag unexpected.
> > > > > make: *** [sv-da.prob] Fel 1
> > > > > per@Pers-debian:~/apertium-sv-da$
> > > > >
> > > > > What now?
> > > > >
> > > > > Yours,
> > > > > Per Tunedal
> > > > >
> > > > >
> > > > > On Fri, Jan 10, 2014, at 17:43, Francis Tyers wrote:
> > > > > > Your XML is really messed up. I've tried to fix it, and now it
> > > > > > validates, but you might want to check that it is doing the right
> > > > > > thing.
> > > > > > Try doing svn diff -r HEAD apertium-sv-da.sv.tsx to see the diff.
> > > > > >
> > > > > > Fran
> > > > > >
> > > > > > El dv 10 de 01 de 2014 a les 17:20 +0100, en/na Per Tunedal va
> > > > > > escriure:
> > > > > > > Hi Francis,
> > > > > > > I followed the advice in the wiki - maybe some explanation would
> > > > > > > be
> > > > > > > appropriate.
> > > > > > >
> > > > > > > Now I've tried the make file that was already present in
> > > > > > > apertium-sv-da
> > > > > > > and encountered new errors:
> > > > > > >
> > > > > > > Generating sv-tagger-data/sv.dic
> > > > > > > This may take some time. Please, take a cup of coffee and come
> > > > > > > back
> > > > > > > later.
> > > > > > > apertium-validate-dictionary apertium-sv-da.sv.dix
> > > > > > > apertium-validate-tagger apertium-sv-da.sv.tsx
> > > > > > > apertium-sv-da.sv.tsx:471: parser error : Opening and ending tag
> > > > > > > mismatch: tagset line 119 and def-label
> > > > > > > </def-label>
> > > > > > > ^
> > > > > > > apertium-sv-da.sv.tsx:497: parser error : Opening and ending tag
> > > > > > > mismatch: tagger line 2 and tagset
> > > > > > > </tagset>
> > > > > > > ^
> > > > > > > apertium-sv-da.sv.tsx:499: parser error : Extra content at the
> > > > > > > end of
> > > > > > > the document
> > > > > > > <forbid>
> > > > > > > ^
> > > > > > > make: *** [sv-tagger-data/sv.dic] Fel 1
> > > > > > >
> > > > > > > I've looked into the tsx-file and cannot understand what's wrong.
> > > > > > > There
> > > > > > > is a <tagset> label above line 497 and <forbid> should not be
> > > > > > > anything
> > > > > > > strange would it?
> > > > > > >
> > > > > > > Yours,
> > > > > > > Per Tunedal
> > > > > > >
> > > > > > > On Fri, Jan 10, 2014, at 16:14, Francis Tyers wrote:
> > > > > > > > Hi Per, it seems like you've copied a tagger training makefile
> > > > > > > > from a
> > > > > > > > language that uses metadix format. If you change .dixtmp1 to
> > > > > > > > .dix it
> > > > > > > > should work.
> > > > > > > >
> > > > > > > > Fran
> > > > > > > >
> > > > > > > > El dc 08 de 01 de 2014 a les 16:13 +0100, en/na Per Tunedal va
> > > > > > > > escriure:
> > > > > > > > > Hi,
> > > > > > > > > I've tried to follow the instructions in the Wiki
> > > > > > > > > http://wiki.apertium.org/wiki/Unsupervised_tagger_training to
> > > > > > > > > train
> > > > > > > > > sv-da
> > > > > > > > >
> > > > > > > > > I got several complaints from the compiler. When I moved the
> > > > > > > > > files to
> > > > > > > > > the Apertium-sv-da folder I got a bit further but I'm still
> > > > > > > > > stuck:
> > > > > > > > >
> > > > > > > > > per@Pers-debian:~/apertium-sv-da$ make -f
> > > > > > > > > sv-da-unsupervised.make
> > > > > > > > > make: *** Ingen regel för att skapa målet
> > > > > > > > > "apertium-sv-da.sv.dixtmp1",
> > > > > > > > > som behövs till "sv-tagger-data/sv.dic". Stannar.
> > > > > > > > >
> > > > > > > > > My translation:
> > > > > > > > > No rule to create the target "apertium-sv-da.sv.dixtmp1",
> > > > > > > > > that's needed
> > > > > > > > > to "sv-tagger-data/sv.dic". Halts.
> > > > > > > > >
> > > > > > > > > Any idea?
> > > > > > > > >
> > > > > > > > > Yours,
> > > > > > > > > Per Tunedal
> > > > > > > > >
> > > > > > > > > ------------------------------------------------------------------------------
> > > > > > > > > Rapidly troubleshoot problems before they affect your
> > > > > > > > > business. Most IT
> > > > > > > > > organizations don't have a clear picture of how application
> > > > > > > > > performance
> > > > > > > > > affects their revenue. With AppDynamics, you get 100%
> > > > > > > > > visibility into your
> > > > > > > > > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of
> > > > > > > > > AppDynamics Pro!
> > > > > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> > > > > > > > > _______________________________________________
> > > > > > > > > Apertium-stuff mailing list
> > > > > > > > > [email protected]
> > > > > > > > > https://lists.sourceforge.net/lists/listinfo/apertium-stuff
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > ------------------------------------------------------------------------------
> > > > > > > > CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> > > > > > > > Learn Why More Businesses Are Choosing CenturyLink Cloud For
> > > > > > > > Critical Workloads, Development Environments & Everything In
> > > > > > > > Between.
> > > > > > > > Get a Quote or Start a Free Trial Today.
> > > > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> > > > > > > > _______________________________________________
> > > > > > > > Apertium-stuff mailing list
> > > > > > > > [email protected]
> > > > > > > > https://lists.sourceforge.net/lists/listinfo/apertium-stuff
> > > > > > >
> > > > > > > ------------------------------------------------------------------------------
> > > > > > > CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> > > > > > > Learn Why More Businesses Are Choosing CenturyLink Cloud For
> > > > > > > Critical Workloads, Development Environments & Everything In
> > > > > > > Between.
> > > > > > > Get a Quote or Start a Free Trial Today.
> > > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> > > > > > > _______________________________________________
> > > > > > > Apertium-stuff mailing list
> > > > > > > [email protected]
> > > > > > > https://lists.sourceforge.net/lists/listinfo/apertium-stuff
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > ------------------------------------------------------------------------------
> > > > > > CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> > > > > > Learn Why More Businesses Are Choosing CenturyLink Cloud For
> > > > > > Critical Workloads, Development Environments & Everything In
> > > > > > Between.
> > > > > > Get a Quote or Start a Free Trial Today.
> > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> > > > > > _______________________________________________
> > > > > > Apertium-stuff mailing list
> > > > > > [email protected]
> > > > > > https://lists.sourceforge.net/lists/listinfo/apertium-stuff
> > > > >
> > > > > ------------------------------------------------------------------------------
> > > > > CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> > > > > Learn Why More Businesses Are Choosing CenturyLink Cloud For
> > > > > Critical Workloads, Development Environments & Everything In Between.
> > > > > Get a Quote or Start a Free Trial Today.
> > > > > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> > > > > _______________________________________________
> > > > > Apertium-stuff mailing list
> > > > > [email protected]
> > > > > https://lists.sourceforge.net/lists/listinfo/apertium-stuff
> > > >
> > > >
> > > >
> > > >
> > > > ------------------------------------------------------------------------------
> > > > CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> > > > Learn Why More Businesses Are Choosing CenturyLink Cloud For
> > > > Critical Workloads, Development Environments & Everything In Between.
> > > > Get a Quote or Start a Free Trial Today.
> > > > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> > > > _______________________________________________
> > > > Apertium-stuff mailing list
> > > > [email protected]
> > > > https://lists.sourceforge.net/lists/listinfo/apertium-stuff
> > >
> > > ------------------------------------------------------------------------------
> > > CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> > > Learn Why More Businesses Are Choosing CenturyLink Cloud For
> > > Critical Workloads, Development Environments & Everything In Between.
> > > Get a Quote or Start a Free Trial Today.
> > > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> > > _______________________________________________
> > > Apertium-stuff mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/apertium-stuff
> >
> >
> >
> >
> > ------------------------------------------------------------------------------
> > CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> > Learn Why More Businesses Are Choosing CenturyLink Cloud For
> > Critical Workloads, Development Environments & Everything In Between.
> > Get a Quote or Start a Free Trial Today.
> > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> > _______________________________________________
> > Apertium-stuff mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/apertium-stuff
>
>
>
>
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> _______________________________________________
> Apertium-stuff mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/apertium-stuff
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff