Skip to content

Commit

Permalink
finalizing layout eventually lol
Browse files Browse the repository at this point in the history
  • Loading branch information
hitblast committed Feb 17, 2024
1 parent ad2e77d commit b46ec39
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ $ pip install -U avro.py

## Usage Guide

#### `parse()`
### 1. `parse()`
This is the most basic use case for avro.py, which includes parsing English Roman script to unicode Bengali:

```python
Expand All @@ -59,15 +59,15 @@ output = avro.parse('ami banglay gan gai.')
print(output)
```

#### `parse(bijoy=True)`
### 2. `parse(bijoy=True)`
Alternatively, we can generate the same output, but in compliance with the Bijoy Keyboard format:

```python
# Parsing some text in Bijoy!
output = avro.parse('tumi emon keno?', bijoy=True)
```

#### `to_bijoy()`
### 3. `to_bijoy()`
We can also use avro.py to convert existing unicode Bengali to its Bijoy Keyboard equivalent:

```python
Expand All @@ -76,7 +76,7 @@ bijoy_text = avro.to_bijoy('আমি বাংলায় গান গাই।'
print(bijoy_text)
```

#### `reverse()`
### 4. `reverse()`
Finally, you can reverse unicode Bengali to English as well (newly added).

```python
Expand Down

0 comments on commit b46ec39

Please sign in to comment.