A web application designed to collect and manage a dataset for the Afaan Oromoo language. This project enables users to submit incorrect and corrected sentences in Afaan Oromoo, which are stored in a CSV file. The application provides real-time updates on the number of entries in the dataset and allows users to download the dataset.
- Data Collection: Users can submit incorrect and corrected sentences in Afaan Oromoo.
- Real-time Dataset Count: The number of entries in the dataset is displayed and updated in real-time.
- Downloadable Dataset: The collected data can be downloaded as a CSV file.
- Cultural Design: The UI reflects Oromo culture, providing a more engaging user experience.
- Frontend: React, Tailwind CSS
- Backend: Flask, Python
- Data Storage: CSV file
- Node.js and npm installed
- Python and pip installed
- Clone the repository:
git clone https://github.com/yourusername/Oromo-Dataset-Collection.git
cd Oromo-Dataset-Collection- Install frontend dependencies:
cd frontend
npm install- Install backend dependencies:
cd ../backend
pip install -r requirements.txt- Start the Flask backend:
cd backend
flask run- Start the React frontend:
cd ../frontend
npm run dev- Open the application:
Go to http://localhost:3000 in your web browser.- GET /api/dataset-count: Returns the current count of entries in the dataset.
- POST /api/add-data: Adds a new entry to the dataset.
- GET /api/download-dataset: Downloads the dataset as a CSV file.Oromo-Dataset-Collection/
├── backend/ # Flask backend
│ ├── app.py # Main Flask application
│ └── dataset/ # Directory for storing the dataset
├── frontend/ # React frontend
│ ├── public/ # Static assets
│ └── src/ # React components and styles
├── README.md # Project documentation
└── .gitignore # Ignored filesContributions are welcome! Please submit a pull request or open an issue to discuss any changes.
- Special thanks to the developers and contributors who made this project possible.
- Inspired by the need to promote and support the Afaan Oromoo language in technology.