apertium / apertium/lttoolbox

Support infinite weights in lt-comp/lt-proc

Open
#62 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
21
Forks
26
PR merge metrics
No merged PRs in 30d

Description

We need to implement a way to represent infinite weights.
The current outcome is strange!
```
$ cat sample.att
0 1 a b 2
1 2 b c 1
1 2 c d inf
2 0

$ lt-comp lr sample.att sa.bin
main@standard 3 3

$ lt-print sa.bin
0 1 a b 1.000000
1 2 b c 2.000000
1 2 c d -2.000000
2 0.000000
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.