Skip to main content
added 4 characters in body
Source Link

I understand that there are data augmentation techniques for natural language such as word/sentence shuffling, word replacement with synonyms and syntax-tree manipulation. However

However, I have hard time finding data augmentation techniques for code snippets(e.g. java, c++, etc). For

For example, natural language (e.g. I am a human) and code snippet (e.g. def function(foo): print(foo)) have quite different syntactic and semantic characteristics. Thus, I don't think the data augmentation techniques for natural language (e.g. word replacement with synonyms) can be applied to code snippets.

Could someone tell me what are some common data augmentation used for code? Thank you.

I understand that there are data augmentation techniques for natural language such as word/sentence shuffling, word replacement with synonyms and syntax-tree manipulation. However, I have hard time finding data augmentation techniques for code snippets(e.g. java, c++, etc). For example, natural language (e.g. I am a human) and code snippet (e.g. def function(foo): print(foo)) have quite different syntactic and semantic characteristics. Thus, I don't think the data augmentation techniques for natural language (e.g. word replacement with synonyms) can be applied to code snippets.

Could someone tell me what are some common data augmentation used for code? Thank you.

I understand that there are data augmentation techniques for natural language such as word/sentence shuffling, word replacement with synonyms and syntax-tree manipulation.

However, I have hard time finding data augmentation techniques for code snippets(e.g. java, c++, etc).

For example, natural language (e.g. I am a human) and code snippet (e.g. def function(foo): print(foo)) have quite different syntactic and semantic characteristics. Thus, I don't think the data augmentation techniques for natural language (e.g. word replacement with synonyms) can be applied to code snippets.

Could someone tell me what are some common data augmentation used for code? Thank you.

added 191 characters in body
Source Link

I understand that there are data augmentation techniques for natural language such as word/sentence shuffling, word replacement with synonyms and syntax-tree manipulation. However, I have hard time finding data augmentation techniques for code snippets(e.g. java, c++, etc). IFor example, natural language (e.g. I am a human) and code snippet (e.g. def function(foo): print(foo)) have quite different syntactic and semantic characteristics. Thus, I don't think I can simply apply natural language'sthe data augmentation techniques for natural language (e.g. word replacement with synonyms) can be applied to code since they have distinct characteristicssnippets. Could

Could someone tell me what are some common data augmentation used for code? Thank you.

I understand that there are data augmentation techniques for natural language such as word/sentence shuffling, word replacement with synonyms and syntax-tree manipulation. However, I have hard time finding data augmentation techniques for code (e.g. java, c++, etc). I don't think I can simply apply natural language's data augmentation techniques to code since they have distinct characteristics. Could someone tell me what are some common data augmentation used for code? Thank you.

I understand that there are data augmentation techniques for natural language such as word/sentence shuffling, word replacement with synonyms and syntax-tree manipulation. However, I have hard time finding data augmentation techniques for code snippets(e.g. java, c++, etc). For example, natural language (e.g. I am a human) and code snippet (e.g. def function(foo): print(foo)) have quite different syntactic and semantic characteristics. Thus, I don't think the data augmentation techniques for natural language (e.g. word replacement with synonyms) can be applied to code snippets.

Could someone tell me what are some common data augmentation used for code? Thank you.

Source Link

What are some common data augmentation techniques used for code?

I understand that there are data augmentation techniques for natural language such as word/sentence shuffling, word replacement with synonyms and syntax-tree manipulation. However, I have hard time finding data augmentation techniques for code (e.g. java, c++, etc). I don't think I can simply apply natural language's data augmentation techniques to code since they have distinct characteristics. Could someone tell me what are some common data augmentation used for code? Thank you.