|
1 | 1 | {
|
2 |
| - "plaintext": { |
3 |
| - "tokenizer": "plaintext_tokenizer.py", |
4 |
| - "command_executable": "python3", |
5 |
| - "input_as_argument": false, |
6 |
| - "command_args": [ |
7 |
| - "--ignore_newlines" |
8 |
| - ], |
9 |
| - "token_value": "value" |
10 |
| - }, |
11 |
| - "python": { |
12 |
| - "tokenizer": "python_tokenizer.py", |
13 |
| - "command_executable": "python3", |
14 |
| - "input_as_argument": true, |
15 |
| - "token_value": "type" |
16 |
| - }, |
17 |
| - "cpp": { |
18 |
| - "tokenizer": "c_tokenizer.py", |
19 |
| - "command_executable": "python3", |
20 |
| - "input_as_argument": false, |
21 |
| - "command_args": [ |
22 |
| - "--ignore_comments" |
23 |
| - ], |
24 |
| - "token_value": "type" |
25 |
| - }, |
26 |
| - "java": { |
27 |
| - "tokenizer": "java_tokenizer.py", |
28 |
| - "command_executable": "python3", |
29 |
| - "input_as_argument": true, |
30 |
| - "token_value": "type" |
31 |
| - }, |
32 |
| - "mips": { |
33 |
| - "tokenizer": "mips_tokenizer.py", |
34 |
| - "command_executable": "python3", |
35 |
| - "input_as_argument": true, |
36 |
| - "token_value": "type" |
37 |
| - } |
| 2 | + "plaintext": { |
| 3 | + "name": "Plain Text", |
| 4 | + "tokenizer": "plaintext_tokenizer.py", |
| 5 | + "command_executable": "python3", |
| 6 | + "command_args": { |
| 7 | + "ignore_punctuation": { |
| 8 | + "name": "Ignore punctuation", |
| 9 | + "argument": "--ignore_punctuation" |
| 10 | + }, |
| 11 | + "to_lower": { |
| 12 | + "name": "Convert to lower case", |
| 13 | + "argument": "--to_lower" |
| 14 | + }, |
| 15 | + "ignore_numbers": { |
| 16 | + "name": "Ignore numbers", |
| 17 | + "argument": "--ignore_numbers" |
| 18 | + }, |
| 19 | + "ignore_newlines": { |
| 20 | + "name": "Ignore newlines", |
| 21 | + "argument": "--ignore_newlines", |
| 22 | + "default": true |
| 23 | + } |
| 24 | + }, |
| 25 | + "token_value": "value", |
| 26 | + "default_hash_size": 14 |
| 27 | + }, |
| 28 | + "python": { |
| 29 | + "name": "Python", |
| 30 | + "tokenizer": "python_tokenizer.py", |
| 31 | + "command_executable": "python3", |
| 32 | + "token_value": "type", |
| 33 | + "default_hash_size": 14 |
| 34 | + }, |
| 35 | + "cpp": { |
| 36 | + "name": "C/C++", |
| 37 | + "tokenizer": "c_tokenizer.py", |
| 38 | + "command_executable": "python3", |
| 39 | + "command_args": { |
| 40 | + "ignore_comments": { |
| 41 | + "name": "Ignore comments", |
| 42 | + "argument": "--ignore_comments", |
| 43 | + "default": true |
| 44 | + } |
| 45 | + }, |
| 46 | + "token_value": "type", |
| 47 | + "default_hash_size": 14 |
| 48 | + }, |
| 49 | + "java": { |
| 50 | + "name": "Java", |
| 51 | + "tokenizer": "java_tokenizer.py", |
| 52 | + "command_executable": "python3", |
| 53 | + "token_value": "type", |
| 54 | + "default_hash_size": 14 |
| 55 | + }, |
| 56 | + "mips": { |
| 57 | + "name": "MIPS Assembly", |
| 58 | + "tokenizer": "mips_tokenizer.py", |
| 59 | + "command_executable": "python3", |
| 60 | + "token_value": "type", |
| 61 | + "default_hash_size": 5 |
| 62 | + } |
38 | 63 | }
|
0 commit comments