lipiji / SongNet

Code for ACL 2020 paper "Rigid Formats Controlled Text Generation":https://www.aclweb.org/anthology/2020.acl-main.68/
MIT License
229 stars 40 forks source link

non Chinese vocab (input) #22

Closed pavelxx1 closed 3 years ago

pavelxx1 commented 3 years ago

Hi, thx for repo! Can I use code for non Chinese languages ? let's say for Russian text thx!

lipiji commented 3 years ago

Sure, you may adjust this script to prepare the data for your scenario:https://github.com/lipiji/SongNet/blob/master/prepare_data.py thx.