This repository was archived by the owner on Mar 29, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +12
-16
lines changed Expand file tree Collapse file tree 2 files changed +12
-16
lines changed Original file line number Diff line number Diff line change 1
1
MIT License
2
2
3
- Copyright (c) 2018 Thiago C. D'Ávila
3
+ Copyright (c) 2018-2019 Thiago C. D'Ávila
4
4
5
5
Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 1
- ugcnormal-microservice
2
- ======================
1
+ # ugcnormal-microservice
3
2
4
3
Microsserviço REST para normalização pt\_ BR usando o
5
4
[ UGCNormal] ( https://github.com/avanco/UGCNormal ) . Ideal para aplicações
@@ -8,14 +7,12 @@ que precisam de normalização online como chatbots.
8
7
Webservice baseado no ugcnormal\_ interface
9
8
[ ] ( https://github.com/thiagootuler/ugcnormal_interface ) .
10
9
11
- Requisitos
12
- ----------
10
+ ## Requisitos
13
11
14
- - Instalar Docker-CE 18.03.1+
15
- - 900 Mb de espaço em disco para imagem
12
+ - Instalar Docker-CE 18.03.1+
13
+ - 900 Mb de espaço em disco para imagem
16
14
17
- Execução
18
- --------
15
+ ## Execução
19
16
20
17
Rodar os comandos:
21
18
@@ -35,19 +32,18 @@ sudo docker stop ugcnormal
35
32
sudo docker rm ugcnormal
36
33
```
37
34
38
- Exemplos de uso
39
- ---------------
35
+ ## Exemplos de uso
40
36
41
37
Basta fazer um POST da mensagem a ser normalizada na url /reply passando
42
38
a mensagem no campo "message" e o método no campo "method".
43
39
44
40
Métodos disponíveis:
45
41
46
- - token: tokenizer
47
- - spell: speller
48
- - acronym: acronyms searcher
49
- - textese: untextese
50
- - proper\_ noun: proper noun normalizer
42
+ - token: tokenizer
43
+ - spell: speller
44
+ - acronym: acronyms searcher
45
+ - textese: untextese
46
+ - proper\_ noun: proper noun normalizer
51
47
52
48
A mensagem normalizada é retornada no campo "reply". O status da
53
49
requisição no campo "status", tendo com valor padrão para sucesso "ok".
You can’t perform that action at this time.
0 commit comments