NL2code icon indicating copy to clipboard operation
NL2code copied to clipboard

Question: Translate from Java to Java

Open Lsaes opened this issue 7 years ago • 1 comments

Hello,

Is it possible to use this project to make predictions from Java code to Java code?

Lsaes avatar Jun 16 '18 10:06 Lsaes

Theoretically this would be possible: you would have to use a tokenized Java string instead of a natural language string on the input side, and on the output side you would have to generate a Java AST instead of a Python AST. These changes, particularly the second, would be rather involved though, so it would probably require a bit of expertise.

neubig avatar Jun 18 '18 11:06 neubig