openeventdata / UniversalPetrarch

Language-agnostic political event coding using universal dependencies
MIT License
18 stars 9 forks source link

Python3 conversion #18

Closed ahalterman closed 6 years ago

ahalterman commented 6 years ago

We've been talking on the OU team about whether we should switch UniversalPetrarch to Python 3. The main reasons are to make it work better with other tools that are Python 3 (like Mordecai), and more importantly, to better handle unicode. Petrarch2 was designed for ASCII input, and no one really knows how it will handle Spanish and Arabic text. @cegme has converted Petrarch2 to Python 3 (see commits here). @JingL1014, do you want to use what he's done to convert UniversalPetrarch to Python3?

JingL1014 commented 6 years ago

Python 3 code is available now.