apertium / apertium/lttoolbox

Carefulcase eats words it can't generate

Open
#35 4 comments 0 reactions 1 assignee Claimed by @jimregan View on GitHub
Dominant language
C++
Stars
21
Forks
26
PR merge metrics
No merged PRs in 30d

Description

If the dictionary has

```xml








kakenekake

pc-anepc


PC-anePC

```
then we get
```sh
$ echo '^kake$ ^KAKE$ ^kake$'|lt-proc -C nob.autogen.bin
kakene kakene
```

I would like it to just fall back to "normal" generation for words it can't find exact case for, ie.

```sh
$ echo '^kake$ ^KAKE$ ^kake$'|lt-proc -C nob.autogen.bin
kakene KAKENE kakene
```

while still retaining the -C functionality for words it *can* find exact matches for
```sh
$ echo '^PC$ ^pc$' | lt-proc -C nob.autogen.bin
PC-ane pc-ane
```

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.