rwppi icon indicating copy to clipboard operation
rwppi copied to clipboard

v1.0.0

Open BeyondMagic opened this issue 3 years ago • 2 comments

Features

  • [x] -- List sources by language.
  • [x] -- List sources by method.
  • [ ] -- List of images.
  • [ ] Compatibility:
    • [x] -- Linux.
    • [x] -- MacOS.
    • [ ] -- Windows (not tested).
    • [ ] -- SerenityOS (not tested).

Sources

  • [ ] -- Multi-thread for sources.
  • [x] -- Multi-thread for methods.
  • [ ] General information:
    • [x] -- Google.
    • [ ] -- Youtube.
    • [ ] -- Github.
    • [ ] -- Torrent web-sites.
    • [ ] -- Wikipedia.
    • [ ] -- Letras Mus BR.
    • [ ] -- Google Images.
    • [ ] -- Yandex Images.

Methods

  • [x] Google:
    • [ ] -- Definition.
    • [x] -- Translation.
    • [ ] -- Translation synonyms.
    • [x] -- Math evaluation.
    • [x] -- Lyrics.
    • [x] -- Lyrics information.
    • [x] -- Weather.
    • [ ] -- Google links.

Options

  • [x] Unit testing:
    • [x] -- 0: Options reading.
    • [x] -- 1: Run local methods asynchronously.
    • [x] -- 2: Run remote sources asynchronously.
  • [x] -- Language that iris will act on defined by environment variable LANG.
  • [x] -- Log option for developers.
  • [ ] -- List images (<img>) URLs inside the element we found the answer.
  • [ ] -- List links (<a>) URLs inside the element we found the answer.
  • [ ] -- List audio (<audio) URLs inside the element we found the answer.
  • [ ] -- Connect above and offer the linking of the image URL.
  • [ ] -- ...

Modular tricks / Non-performant affect tools.

  • [x] -- Empty query jokes.

Extra

  • [ ] -- tinyexpr to module.

Computers will be fun again!
Terry A. Davis
1969-2018

BeyondMagic avatar Dec 19 '21 08:12 BeyondMagic

Remote database - Reasons

Since any type of information can be fed to the database if the code is changed, to not pollute it, the maintainer of the database can set the remote configuration on the code base and share the binary to others


Database

A pointer file will be necessary to help the AI prototype to find if there's no need to scrape the WEB for information that is already in the cache.

  • 1st column: base language.
  • 2nd column: language.
  • 3rd column: source.
  • 4th column: method.
  • 5th column: returning key-word query.
  • 5th column: query.

Translating will never be saved in the cache.

~/.cache/iris/list

en,us,google,definition,love
en,us,google,definition,laugh
en,us,google,definition,heart
pt,br,google,definition,arco-iris
en,us,google,header,is Linux good

~/.cache/iris/en/us/google/definition/love

AUDIO ssl.gstatic.com/dictionary/static/sounds/20200429/love--_us_1.mp3
/ləv/
noun:
 1. an intense feeling of deep affection.
  "babies fill parents with feelings of love"
  Similar: ...
verb: ...

Learning database

This will include how Iris will be able to identify certain words and patterns so that it does less with more information.

~/.cache/iris/learning

en us google definition meaning,definition,definition of,what is the meaning of

BeyondMagic avatar Dec 19 '21 08:12 BeyondMagic

Compression?

Compression of ~/.cache/iris/list and ~/.cache/iris/learning. At scale it me be necessary to compress and decompress at runtime of this data because they can get quite huge.

By being minimal, it may not; however for the intuition I may put as a compiler option in case remote databases get huge (as they would, obviously)

BeyondMagic avatar Dec 21 '21 17:12 BeyondMagic