An open API service indexing awesome lists of open source software.

https://github.com/lnxpy/sighted

NLP approach for enhancing your reading quality!
https://github.com/lnxpy/sighted

Last synced: 12 months ago
JSON representation

NLP approach for enhancing your reading quality!

Awesome Lists containing this project

README

          

## Sighted - Your brain reads faster than your eyes!
Using NLP and bionic AI algorithms to help you stay focused and not get distracted when reading.

- [Sighted is LIVE here!](https://sighted.vercel.app)
- [See how Sighted can be helpful for individuals with Dyslexia and ADHD who love reading books!](#adhd--dyslexia)

### Installation
```sh
pip install sighted
```

Sighted uses a very light (~12Mb) pre-trained model that works perfectly fine with normal text inputs.

### Usage
```python
from sighted import Literal
from sighted.language import PoS

from string import Template

text = "Hello there. This is an experimental text to showcase \
how fast you can read with Sighted."

language = Literal(
text=text,
fixation=2,
saccade=2,
ignore_pos=[PoS.PUNCT] # ignoring punctuations
)

transformed_text = language.transform(
template=Template(' $fix$unfix')
)
```

The `transformed_text` is an iterable that contains the following items:

```html
Hello
there
.
This
is
an
experimental
text
to
showcase

how
fast
you
can
read
with
Sighted
.
```

If you place this content within a `

` tag in a very basic HTML `