Closed ronaldtse closed 3 years ago
As mentionned in the blog and by Ahmad, this is now 1) correct: “قَطَر” (Qatar - a country), “قُطْر” (Qotr - circle diameter), “قَطْر” (Qatr - rain). 2) but fallinga onto collisions.
The expected value of the test is wrong and had to do with the fact that ONNX was not set up for dynamical lengths, which caused some issues. This has now be fixed and the code result is correct.
@gilgameshjw the resulting string "قَطُر" does not seem to be any of the three? (notice there is a tail at the top circle in the middle character).
How about the tests 2 and 3? What does this mean?
Non-zero status code returned while running FusedConv node. Name:'fused Conv_92' Status Message: Invalid input shape: {0}
Fix for tests 2 and 3 can be this: https://github.com/onnx/tensorflow-onnx/issues/1062
I realized the problem with the tests that are not in Arabic:
Non-zero status code returned while running FusedConv node. Name:'fused Conv_92' Status Message: Invalid input shape: {0}
This is when the string contains non-Arabic characters, the model does not have those characters as input and therefore does not know what to do with them. These non-Arabic characters are to be dealt with in the Reconciler
, not in The Diacriticizer
.
I'm going to close this in favour of resolving #26 .
@gilgameshjw the tests started failing at commit e869dffbd1ea5d97dc9ec4630646e233bd69fdcf.