Giter VIP home page Giter VIP logo

techouse / termania-edge-extension Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 7.89 MB

Termania.net Lookup Microsoft Edge Extension

Home Page: https://microsoftedge.microsoft.com/addons/detail/ilcmiijniabejbjeedjlfpnepagjkmke

License: GNU General Public License v3.0

JavaScript 73.95% HTML 1.06% Vue 15.83% SCSS 9.16%
javascript dictionary lookup slovenian lemmatization microsoft-edge-extension

termania-edge-extension's Introduction

Termania.net Lookup Edge Extension

GitHub license Codacy Badge GitHub manifest.json dynamic

This Microsoft Edge extension enables foreigners as well as Slovenian native speakers to search the extensive Slovenian dictionary search engine Termania.net with the click of a single button.

Why yet another Microsoft Edge Extension

I wanted to build something that actually solves a problem and helps people, especially foreigners who are trying to learn the Slovenian language.

How do I install it? ๐Ÿš€

Simply visit Microsoft Edge Addons and download it.

Is there a Chrome version? ๐Ÿ”ฎ

Yes and it can be accessed here.

Is there a Firefox version? ๐ŸฆŠ

Yes and it can be accessed here.

How does it work?

The user first needs to select a Slovenian word and right-click it to open Edge's context menu:

Context menu

In order to query only the lemmas of each word form the extension makes use of the Morphological lexicon Sloleks 2.0 indexed in an IndexedDB database which holds over 100.000 lemmas. In order to get the 1.5 GB lexicon from XML to SQLite and then finally into IndexedDB I wrote parser in Python.

Once the correct lemma is identified an API call gets sent to Termania.net which in turn supplies all the information that is then presented to the user in a popup window.

Results

You also have the option to change the default dictionary to any dictionary provided by Termania.net! All you have to do is open the popup menu in Edge's Menu bar and make your choice!

Dictionaries

Why is the installation of the extension taking so long?

Unfortunately the Sloleks database housing all those 100.000 lemmas is quite large (approx. 50MB) and importing it into IndexedDB takes about 5 minutes to complete during which time you wou't be able to use the extension.

The extension also supports dark mode ๐Ÿ˜Ž

Dark mode

Dark mode

How do I build it from source?

The extension uses a lot of different JavaScript libraries and has to be compiled with npm and Webpack. Ensure you have Node.js and npm installed and run these commands:

npm install
npm run build

The finished extension will present itself in a directory called build. From there you can load it as an unpacked extension.

termania-edge-extension's People

Contributors

dependabot[bot] avatar techouse avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.