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!
- Host: GitHub
- URL: https://github.com/lnxpy/sighted
- Owner: lnxpy
- License: mit
- Created: 2024-07-11T11:13:16.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-21T17:39:35.000Z (about 2 years ago)
- Last Synced: 2025-04-15T23:56:20.232Z (over 1 year ago)
- Language: Python
- Homepage: https://sighted.vercel.app/
- Size: 12.3 MB
- Stars: 16
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 `