rycolab / aclpub2

MIT License
26 stars 38 forks source link

Issues in softconf2aclpub.py #172

Open shashwatup9k opened 2 months ago

shashwatup9k commented 2 months ago

I think line 34 should be tokens_capitalized = [token[0].upper()+token[1:].lower() for token in tokens if len(token)>1] instead of tokens_capitalized = [token[0].upper()+token[1:].lower() for token in tokens. It helps to resolve the "string index out of range" issue