Closed unhammer closed 3 years ago
<TinoDidriksen> tag order differs in test output - this is against HFST built with external OpenFST and Foma, and -std=c++17. Does something maybe rely on the order of unordered_set
make[5]: Entering directory '/build/libdivvun-0.3.10+g493~9db3c2a6-1~impish1/test/blanktag' FAIL: run =========================================================== Divvun gramcheck 0.3.10: test/blanktag/test-suite.log =========================================================== # TOTAL: 1 # PASS: 0 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: ./run =========== 3,4c3,4 < ")" RPAREN @EOP <firstWord> <spaceBeforeParenEnd> < ")" RPAREN @EMO <firstWord> <spaceBeforeParenEnd> --- > ")" RPAREN @EOP <spaceBeforeParenEnd> <firstWord> > ")" RPAREN @EMO <spaceBeforeParenEnd> <firstWord> 10,11c10,11 < "be" V Pret "<was>" <firstWord> <firstWordOfParagraph> < "it" Prn 3Sg Neut "<T>" <firstWord> <firstWordOfParagraph> --- > "be" V Pret "<was>" <firstWordOfParagraph> <firstWord> > "it" Prn 3Sg Neut "<T>" <firstWordOfParagraph> <firstWord> FAIL run (exit status: 1) ============================================================================ Testsuite summary for Divvun gramcheck 0.3.10 ============================================================================ # TOTAL: 1 # PASS: 0 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 ============================================================================ See test/blanktag/test-suite.log Please report to unhammer+apertium@mm.st ============================================================================ make[5]: Leaving directory '/build/libdivvun-0.3.10+g493~9db3c2a6-1~impish1/test/blanktag'
https://github.com/hfst/hfst/blob/2a51e9dd9b28c95d3f9f8cdcc81b766e1c369699/libhfst/src/HfstDataTypes.h#L115 it's a set in hfst
<TinoDidriksen> tag order differs in test output - this is against HFST built with external OpenFST and Foma, and -std=c++17. Does something maybe rely on the order of unordered_set