Whole file

pyconll/pyconll

The author described this change as Fix bug with deps and add test for parsing.. It counts as a record because the check below fails on the code as it stood at 7e5d6c4f1 and passes on 096bdab15, with nothing else changed between the two runs.

Fix saved2018-07-04
Sharing licenceMIT · LICENSE
Change size+1 1

What the code was meant to do, written into the code itself as a save note

Fix bug with deps and add test for parsing.

The change

324324 deprel = _unit_conll_map(self.deprel, Token.EMPTY)
325325 deps = _dict_singleton_conll_map(self.deps, Token.EMPTY,
326326 Token.COMPONENT_DELIMITER,
327- Token.AV_SEPARATOR)
327+ Token.AV_DEPS_SEPARATOR)
328328 misc = _dict_conll_map(self.misc, Token.EMPTY,
329329 Token.COMPONENT_DELIMITER, Token.AV_SEPARATOR,
330330 Token.V_DELIMITER)

The check that tells the two apart

failpass·tests/unit/test_token.py::test_deps_parsing

Check file tests/unit/test_token.py, taken without changes from the fix and copied onto the older code, so the exact same check runs against both versions.

Origin and history

The code before it7e5d6c4f13dfae4e7a08c31c4c5ea71c613f216d
Broken version dated2018-07-04
Modulepyconll.unit.token
Units changedToken
Fingerprint6af002aa61151724
Checked2026-08-18 by goldset/0.1

Every field above is generated by our program. None of it is written by hand.

Other bugs found in pyconll/pyconll