-
-
Notifications
You must be signed in to change notification settings - Fork 291
Open
Milestone
Description
Feature Description
A FastAPI-based REST API service to make Underthesea accessible for web applications, microservices, and non-Python developers.
Motivation
- Enable language-agnostic access (JavaScript, Java, Go, etc.)
- Support microservices architecture
- No need to install Python package for every application
π Proposed API Endpoints
POST /api/v1/tokenize/word- Word segmentationPOST /api/v1/tokenize/sentence- Sentence segmentationPOST /api/v1/pos-tag- POS taggingPOST /api/v1/ner- Named entity recognitionPOST /api/v1/classify- Text classificationPOST /api/v1/sentiment- Sentiment analysisPOST /api/v1/chunk- ChunkingPOST /api/v1/dependency-parse- Dependency parsingGET /api/v1/health- Health check
π οΈ Implementation
- FastAPI with automatic OpenAPI documentation
- Docker & Docker Compose for easy deployment
- Pydantic for request/response validation
- Full test coverage
π€ Contribution
I have the code ready and can submit a PR if this is something the maintainers are interested in.
Would this feature align with the project's goals? I'm excited to contribute to this amazing Vietnamese NLP project!
Looking forward to your feedback!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels