rycolab / aclpub2

MIT License
30 stars 41 forks source link

Issues in softconf2aclpub.py #172

Open shashwatup9k opened 6 months ago

shashwatup9k commented 6 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