Download parser/__init__.py from idsedykh/codebleu: direct link, hf CLI and curl.
- Browser
- Download file 336 Bytes
-
https://huggingface.co/spaces/idsedykh/codebleu/resolve/main/parser/__init__.py
- Command line
-
hf download hf://spaces/idsedykh/codebleu/parser/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/idsedykh/codebleu/resolve/main/parser/__init__.py
336 Bytes
| # Copyright (c) Microsoft Corporation. | |
| # Licensed under the MIT license. | |
| from .utils import (remove_comments_and_docstrings, | |
| tree_to_token_index, | |
| index_to_code_token, | |
| tree_to_variable_index) | |
| from .DFG import DFG_python,DFG_java,DFG_ruby,DFG_go,DFG_php,DFG_javascript,DFG_csharp |