this repo build for anyone who want ues grid_beam_search with pointer-generator
pointer-generator : https://github.com/abisee/pointer-generator
grid_beam_search : https://github.com/chrishokamp/constrained_decoding which extends beam search to allow the inclusion of pre-specified lexical constraints
the main change in beam_search.py and run_grid_beam_search()
just run the code follow the readme from https://github.com/abisee/pointer-generator