
A Flask + React app that processes a user input sentence in Arabic and displays the parts of speech for each word.
Tech Stack
Flask
- Run server side scripts and applications.
- Deliver generic HTML sections such as headers / footers / nav bar.
- Deliver raw JSON data via API endpoints.
- Make database connections and requests.
- Data processing / computation and packing data.
React
- React can build responsive, stateful components.
- Any component that needs memory, (remembering viewport height / width for example).
- Show / hide / update a div, or HTML section.
- Build a responsive user interface.
- Anything that changes or updates with user input
- Handle onClick functions.
- Extensive compatible library selection, such as drag and drop tools.
Arabic Parser
The Code
Supriyo Biswas Parser
Their article covers the mechanics in more detail. A couple constraints we need to keep in mind:
- We need to parse each word individually in order to determine their parts of speech
- We need to match the output parts of speech with our own parts of speech we’re processing in our grammar rules