This repo contains source code and pre-processed corpora for "CATER: Intellectual Property Protection on Text Generation APIs via Conditional Watermarks"
- python3
- spacy==3.0.0
- numpy==1.19.5
- scipy==1.5.4
- nltk==3.5
python iterate_all_comb_on_pos_pp.py 1 # order: 1,2,3,4