Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with double post-generation #183

Open
acmraimx23 opened this issue May 21, 2024 · 1 comment
Open

Problems with double post-generation #183

acmraimx23 opened this issue May 21, 2024 · 1 comment

Comments

@acmraimx23
Copy link

Hello,

We have defined two post-generation files to be able to apply the 'l apostrophe in Asturian. We have defined two post-generators with a rule for that particular case in the second post-generator. In version 3.7 of the engine it works correctly. But applying the same solution in version 3.8.3 does not give the same results. In the first post-generator it removes the tags that are incorporated for the call to the second post-generator.

In version 3.7.2 + ltoolbox 3.5.4

Calling the first post-generator
echo "~Ye ~~el ~momentu~. ~~En ~~esta ~casa~." | lt-proc -c -p spa-ast.autopgen.bin output is ~Ye el ~momentu.

Calling the second post-generator
echo "~Ye el ~momentu." | lt-proc -c -p spa-ast.autopgen2.bin, output is Ye'l momentu.

In version 3.8.3 + ltoolbox 3.7.1
Calling the first post-generator
echo "~Ye ~~el ~momentu~." | lt-proc -c -p spa-ast.autopgen.bin output is Ye el momentu.

It does nothing in the second post-generator because it loses the marks .

Could it be a bug?

Thank's

@mr-martian
Copy link
Contributor

Try changing the the first command from lt-proc -c -p to lt-proc -x -p. The -x option is intergeneration which is the same as post-generation but retains unmatched tildes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants