-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Refactor:Plagiarism] Refactor data.json (#76)
* progress * Make the changes backwards-compatible
- Loading branch information
1 parent
ed20eb9
commit 47a4e2d
Showing
2 changed files
with
85 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,63 @@ | ||
{ | ||
"plaintext": { | ||
"tokenizer": "plaintext_tokenizer.py", | ||
"command_executable": "python3", | ||
"input_as_argument": false, | ||
"command_args": [ | ||
"--ignore_newlines" | ||
], | ||
"token_value": "value" | ||
}, | ||
"python": { | ||
"tokenizer": "python_tokenizer.py", | ||
"command_executable": "python3", | ||
"input_as_argument": true, | ||
"token_value": "type" | ||
}, | ||
"cpp": { | ||
"tokenizer": "c_tokenizer.py", | ||
"command_executable": "python3", | ||
"input_as_argument": false, | ||
"command_args": [ | ||
"--ignore_comments" | ||
], | ||
"token_value": "type" | ||
}, | ||
"java": { | ||
"tokenizer": "java_tokenizer.py", | ||
"command_executable": "python3", | ||
"input_as_argument": true, | ||
"token_value": "type" | ||
}, | ||
"mips": { | ||
"tokenizer": "mips_tokenizer.py", | ||
"command_executable": "python3", | ||
"input_as_argument": true, | ||
"token_value": "type" | ||
} | ||
"plaintext": { | ||
"name": "Plain Text", | ||
"tokenizer": "plaintext_tokenizer.py", | ||
"command_executable": "python3", | ||
"command_args": { | ||
"ignore_punctuation": { | ||
"name": "Ignore punctuation", | ||
"argument": "--ignore_punctuation" | ||
}, | ||
"to_lower": { | ||
"name": "Convert to lower case", | ||
"argument": "--to_lower" | ||
}, | ||
"ignore_numbers": { | ||
"name": "Ignore numbers", | ||
"argument": "--ignore_numbers" | ||
}, | ||
"ignore_newlines": { | ||
"name": "Ignore newlines", | ||
"argument": "--ignore_newlines", | ||
"default": true | ||
} | ||
}, | ||
"token_value": "value", | ||
"default_hash_size": 14 | ||
}, | ||
"python": { | ||
"name": "Python", | ||
"tokenizer": "python_tokenizer.py", | ||
"command_executable": "python3", | ||
"token_value": "type", | ||
"default_hash_size": 14 | ||
}, | ||
"cpp": { | ||
"name": "C/C++", | ||
"tokenizer": "c_tokenizer.py", | ||
"command_executable": "python3", | ||
"command_args": { | ||
"ignore_comments": { | ||
"name": "Ignore comments", | ||
"argument": "--ignore_comments", | ||
"default": true | ||
} | ||
}, | ||
"token_value": "type", | ||
"default_hash_size": 14 | ||
}, | ||
"java": { | ||
"name": "Java", | ||
"tokenizer": "java_tokenizer.py", | ||
"command_executable": "python3", | ||
"token_value": "type", | ||
"default_hash_size": 14 | ||
}, | ||
"mips": { | ||
"name": "MIPS Assembly", | ||
"tokenizer": "mips_tokenizer.py", | ||
"command_executable": "python3", | ||
"token_value": "type", | ||
"default_hash_size": 5 | ||
} | ||
} |