EmilStenstrom / conllu

A CoNLL-U parser that takes a CoNLL-U formatted string and turns it into a nested python dictionary.
MIT License
311 stars 50 forks source link

fix(seralizer): use f-strings to help serialize int metadata (fix #63) #64

Closed hrishikeshrt closed 2 years ago

EmilStenstrom commented 2 years ago

Hi @hrishikeshrt! Looks good in general.

Would you mind adding some tests?

hrishikeshrt commented 2 years ago

@EmilStenstrom I've added a test case. Please let me know if you think that is sufficient.

EmilStenstrom commented 2 years ago

Thanks for a great PR! I've just released conllu 4.4.2 which includes your fix. A simple pip install conllu -U should get the latest version!