Skip to content

nkuweb/Turkish-Language-NLP-API

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Turkish-Language-NLP-API

TLNP is a Turkish Language formatting API for creating perfect documents.At now it is on the Raw potatoes release.

For use this API:

First:

For Linux

`$ sudo apt-get install python-pip python-dev build-essential `

For OSX:

`$ sudo curl https://bootstrap.pypa.io/get-pip.py > get-pip.py `

`$ sudo python get-pip.py `

And after:

This is for creating own virtual workspace. $ pip install virtualenv

After installed these modules without any error.

`$ cd FLASK-API/
 $ source api bin/activate`

You can activate the virtualenv but you need install packages again:

 `$(api)  pip install -r requirements.txt`

(FOR YOUR HOST .) $ pip install -r requirements.txt

For run the server:

`(api) $ python server.py`

And server is runnig:

`localhost:5000/api`

After client-test:
`$ python client.py`

`localhost:4000`

FOR USE THE ON DOCKER: Change the directory

$ cd FLASK-API/docker-flask-api

Build container on your system:

$ docker-compose build

Wake up the containers

$ docker-compose up

localhost:5000 is default IP on your local address.

If you did not install Docker to on your host machine look the Docker-Docs:

DOCKER-DOCUMENTATION

About

Created by nkudatascience Team

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.7%
  • Other 0.3%