language: | |
- id | |
## Example | |
code: | |
``` | |
from transformers import pipeline | |
gen = pipeline("translation", model="Nestech/spell-correction-base") | |
``` | |
output: | |
``` | |
[{'translation_text': 'Presiden telah menyetujui rencana tersebut.'}] | |
``` |
language: | |
- id | |
## Example | |
code: | |
``` | |
from transformers import pipeline | |
gen = pipeline("translation", model="Nestech/spell-correction-base") | |
``` | |
output: | |
``` | |
[{'translation_text': 'Presiden telah menyetujui rencana tersebut.'}] | |
``` |