Content AI framework/starter kit.
Content editors/writers are the heart of any digital news space. This starter kit API can make content publishing tools better, faster and smarter. For ex: curation, cms, api, any application backend or even FE apps.
- Reduces UI components.
- Saves time in writing stories.
- Helps writing better stories.
- Reduces 'time to 1st publish' duration.
Using facial recognition detect political figures to automatically select taxonomy or content category. Image-AI
Find image caption by image URL. Image-AI
Analyze image based on several pre trained image models. Image-AI
Subject priority image cropping. Image-AI
Recurrent Neural Network (RNN)
Natural language processing (NLP)
curl http://localhost:5004/classify_title?title=Video shows jaw-dropping scale of Dorian's ferocious hit on the Bahamas
Example Response:
[{"category":"news","probability":"0.9941731"},{"category":"tech","probability":"0.0047676545"},{"category":"politics","probability":"0.0007970525"},{"category":"health","probability":"0.00026003388"},{"category":"business","probability":"2.2758081e-06"}]
curl http://localhost:5004/classify_breaking?title=Watch live: Latest on Hurricane Dorian as it move up U.S. coast
Example Response:
[{"category":"breaking","probability":"0.7305469"},{"category":"normal","probability":"0.26945308"}]
curl curl http://localhost:5004/ner?content=<YOUR LARGE CONTENT BLOB>
Example Response:
[["London","B-LOC"],["you","O"],["Trump","B-PER"].....
curl 'http://localhost:5004/predict_vertical' --data 'content=<YOUR LARGE CONTENT BLOB>'
Example Response:
{"vertical_type":"Mach"}
{"keywords":{"politics":0.179,"obama":0.179,"election":0.179,"sanders":0.179......}}
curl 'http://localhost:5004/output?string=financial&work'
Example Response:
{ predictions:[ "planning" ] }
curl 'http://localhost:5004/output?string=financd'
Example Response:
{ spell_suggestion:"finance" }
=============================================
cd docker
docker-compose up -d
cd docker
pip install -r requirements.txt
cd ..
python server.py
Visit http://localhost:5004/test to play around with example GUI.
- Organize files/folders.
- Use more OOP structure.
- Add more comments.
- Reduce code footprints.
- and so on .. huge list.
FULL CREDIT GOES TO EVERYONE INVOLVED IN ML/AI FIELD. THEY ARE TOTALLY RESPONSIBLE FOR MANKINDS EXTINCTION. :-)