Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 506 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 506 Bytes

Compound word splitter for arabic.

A recursive python script to break down compound arabic word using spellchecker and splitter algorithm

Installation

The splitter is written in Python and requires a recent version of Python to run (>=3.5)

pip3 install -r requirements.txt

Usage

The script requires target word.

python3 compound_word_splitter_ar.py [target word]

Example

python3 compound_word_splitter_ar.py الدعمالعربي

Output

['الدعم', 'العربي']