Fails on reject-current-rule
@nordfalk is already working on this.
Since Apr 23, 2018.
Assessment
This issue has not been assessed yet.
Description
$ apertium-preprocess-transfer-bytecode-j apertium-sme-nob.sme-nob.t1x /dev/null
WARNING: Macro set_neverdet is not defined. Ignoring call. Defined macros are: [guess_animacy, set_c_gen_nbr, maybe_det_nbr_to_adj, set_caseFirstWord, modify_prn_case, set_defnes, reset_caseFirstWord, switch_cases, copy_syn_label, set_prn_gen_nbr_art2, clean_det, modify_adj_gen_nbr, set_foc-word, set_caseprep, clean_cmp, set_defnes2] - for <transfer default="chunk">/<section-def-macros>/<def-macro c="arg.1: noun, arg.2: adjective ––––– " n="modify_adj_gen_nbr" npar="2">/<call-macro n="set_neverdet">
Exception in thread "main" java.lang.UnsupportedOperationException: Not yet implemented:processInstruction(n = reject-current-rule - for <transfer default="chunk">/<section-rules>/<rule comment="C[] prn.gen.P Only runs where tl is *not* a determiner.">/<action>/<choose>/<when>/<reject-current-rule shifting="no">
at org.apertium.transfer.generation.TransferBytecode.throwParseError(TransferBytecode.java:821)
at org.apertium.transfer.generation.TransferBytecode.processInstruction(TransferBytecode.java:468)
at org.apertium.transfer.generation.TransferBytecode.processChoose(TransferBytecode.java:652)
at org.apertium.transfer.generation.TransferBytecode.processInstruction(TransferBytecode.java:456)
at org.apertium.transfer.generation.TransferBytecode.writeMethodBody(TransferBytecode.java:106)
at org.apertium.transfer.generation.TransferBytecode.<init>(TransferBytecode.java:1220)
at org.apertium.transfer.generation.TransferBytecode.main(TransferBytecode.java:1329)
at org.apertium.CommandLineInterface.main(CommandLineInterface.java:114)
See docs for reject-current-rule: https://github.com/apertium/apertium/blob/master/apertium/transfer.dtd#L457
- Dominant language
- Java
- Stars
- 5
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apertium/lttoolbox-java
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
apertium/lttoolbox-java#7 · 3 comments ·
All issues in apertium/lttoolbox-java
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
elastic/gradle-plugins#157 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
cryptomator/hub#497 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
johanhaleby/occurrent#1120 ·