Skip to main content

Bahasa Indonesia Language Tool

Project description


You can install bhasa with pip:

$ pip install bhasa

You can test the installation in Python console:

>>> import bhasa
>>> print


  1. Spelling

We are currently using Peter Norvig’s article as a reference. But since it’s using English, we’ll update it to Bahasa soon. Usage:

>>> from bhasa.spell import correction
>>> correction('typwriter')


  1. Clone this repository:

    $ git clone bhasa
  2. Go into the folder:

    $ cd bhasa
  3. We recommend using Miniconda for package manager. Download and install Miniconda on your computer, and create a new environment:

    $ conda env create -f environment.yml
  4. Activate the environment:

    # Linux/Mac OS
    $ source activate bhasa_env
    # Windows
    $ activate bhasa_env


We use coverage for testing. You can run test with:

$ coverage run bhasa/tests/

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date (6.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page