{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/TokenizerUserDictConfig",
"title": "TokenizerUserDictConfig",
"type": "object",
"description": "A list of pairs of strings that should be replaced with another string during tokenization.",
"properties": {
"tokenizer": {
"type": "string",
"description": "The tokenizer to which the user dictionary should be applied. Currently, only the `kagame` ja and kr tokenizers supports user dictionaries."
},
"replacements": {
"type": "array",
"items": {
"type": "object",
"required": [
"source",
"target"
],
"properties": {
"source": {
"type": "string",
"description": "The string to be replaced."
},
"target": {
"type": "string",
"description": "The string to replace with."
}
}
}
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.