harvardnlp / neural-template-gen

262 stars 59 forks source link

Purity #10

Closed yeyeye529 closed 5 years ago

yeyeye529 commented 5 years ago

Thank you for sharing your excellent code! I have some questions on the calculation of Purity metrics shown in Table 5 in the EMNLP'18 paper. I could not find the part of purity in this code. When I try to implement by myself, I'm not sure about some details. Could you please push the code of calculating purity? Thank you!

swiseman commented 5 years ago

Sorry for the delay; it should now be possible to calculate purity using the '-align' argument in chsmm.py, and the code should reproduce the purity numbers in the (updated) paper.