apertium / apertium/lttoolbox

Support direction restrictions in weights

Open
#84 1 comment 0 reactions 0 assignees View on GitHub
enhancement weighting
Dominant language
C++
Stars
21
Forks
26
PR merge metrics
No merged PRs in 30d

Description

Currently, weights are specified using the ```w``` attribute. Using it in a bidix gives an entry the same weight for both directions, potentially producing unwanted effects if there are lexical units with multiple translations in both directions.

I suggest adding the attributes ```wr``` and ```wl``` with a behaviour equivalent to what ```vr``` and ```vl``` already do with variants.

Thanks!

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.