Strange output when transducer is compiled from a .att file
- Dominant language
- C++
- Stars
- 21
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to add weights to the morphological analyser.
So while I was checking last year's project (http://wiki.apertium.org/wiki/User:Techievena/GSoC_2018_Work_Product_Submission) I noticed that the output of the analyser isn't correct (according to my understanding).
The wiki suggests that to do so I will need to:
```
$ cat test.att
0 1 c c 4.567895
1 2 a a 0.989532
2 3 t t 2.796193
3 4 @0@ + -3.824564
4 5 @0@ n 1.824564
5 0.525487
4 5 @0@ v 2.845989
$ lt-comp lr test.att test.bin
main@standard 6 6
$ lt-print test.bin
0 1 c c 4.567895
1 2 a a 0.989532
2 3 t t 2.796193
3 4 ε + -3.824564
4 5 ε n 1.824564
4 5 ε v 2.845989
5 0.525487
```
However, the output of the transducer is a bit strange:
```
$ echo "cats" | lt-proc test.bin
^cat/cat+n/cat+v$s
```
Shouldn't the **$** sign mark the end of the analysis. Why is there an **s** following the **$** sign?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.