kmkurn / pytorch-crf

(Linear-chain) Conditional random field in PyTorch.
https://pytorch-crf.readthedocs.io
MIT License
935 stars 151 forks source link

is it necessary to use format function which is only supported by 3.6? #28

Closed panzhufeng closed 5 years ago

panzhufeng commented 5 years ago

format function seems to be the only problem for supporting python3.5

kmkurn commented 5 years ago

Hi, I opted for Python 3.6 because it was the latest Python version when I first wrote this library. I have no intention to support older versions, sorry. If you really need to work with Python 3.5, I suggest to fork and rewrite some parts to suit your needs. Cheers!