Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

/uber #3

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open

/uber #3

wants to merge 19 commits into from

Conversation

proger
Copy link

@proger proger commented Jan 11, 2023

This PR upgrades java, gradle, groovy, grails to something recent and introduces a new endpoint, /uber:

$ curl -s  -X POST -H "Content-Type: application/json" -d "['Привіт, котанче. Як справи?', 'Ну шо, приїхали?']" http://localhost:8080/uber | jq -c '.[]'

[["Привіт, котанче. ",["Привіт","котанче"],["","привіт",","," ","котанче","."," "]],["Як справи?",["Як","справи"],["","як"," ","справа","?"]]]
[["Ну шо, приїхали?",["Ну","шо","приїхали"],["","ну"," ","шо",","," ","приїхати","?"]]]

The new endpoint accepts a batch of texts, processes all of them parallel and returns [sentences, tokens, lemmas] for each text.

Ping @dchaplinsky, let me know if you can use this.

@arysin
Copy link
Owner

arysin commented Jan 11, 2023

Дуже дякую, але почекайте дещо. Я переписав проєкт наново з усіма новими платформами, за день-два закину в репозитарій.

@arysin
Copy link
Owner

arysin commented Jan 11, 2023

Вітання, я створив новий проєкт https://github.com/arysin/nlp_uk_api
Він повністю оновлений й має працювати, але я ще маю добити Dockerfile
Цей проєкт я архівую

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants