tech-srl / code2seq

Code for the model presented in the paper: "code2seq: Generating Sequences from Structured Representations of Code"
http://code2seq.org
MIT License
556 stars 164 forks source link

Please replace the uptree and downtree delimiters in the CSharp extractor #30

Closed syqure closed 4 years ago

syqure commented 4 years ago

code2seq requires the tokens in the path connecting the left and right context to be delimited by '|', but the CSharpExtractor uses '^' and '_' as the uptree and the downtree delimiters, respectively. Please fix this.

urialon commented 4 years ago

Thanks, fixed