🌐Dictionaries servers

You can explore DICT servers with Remède. Let's see how to enable and use this functionality.

What is a dictionary server

The Dictionary Server Protocol (DICT) is a TCP based protocol which allows a client to access dictionary definitions from a set of dictionary databases. See RFC2229.

You can find a large amount of dictionary servers, that contains dictionaries about various topics.

How to explore servers from Remède ?

You can browse dictionary servers from the "DICT Client" page in Remède. This page is more a testing purpose page than a way to browse dictionaries servers. It allows you to test servers connectivity and functionalities, with a logs page ect...

To use dictionaries servers as a search method in Remède, see How to set a dictionary server as a "primary" dictionary ?

The server address field

On the DICT Client page, you can see two fields at the top of the page. The first one should indicate the DICT server address.

The left part contains the hostname; a domain name or an IP address; and the second part is the server port. The default port for the DICT Protocol is 2628.

You can select a server from your saved servers or the default server directory by clicking the compass icon.

The search field, and search options

Below the server address field, you can see the search field. Use it to make a query to the dictionary server.

For more search options, click the filter icon at the right. You can now see the options page. You can select the dictionary to use (or choose to search in all dictionary), and the search method.

  • The DEFINE method will return the definitions of the words

  • Whereas the MATCH method will return a list of word matching the requested pattern. The search pattern is what you enter into the search field.

    • The use of the MATCH method require a STRATEGY. The STRATEGY specify how do you want to match your pattern: REGular EXpression, starts with (preffix), ends with (suffixe) ect...

The logs page

For debugging purposes, you can open the logs page. It shows the raw transmission between Remède and the dictionary server.

How to set a dictionary server as a "primary" dictionary ?

Setting a dictionary server as "primary" will let you browse it directly from the home page and see a word's definitions.

1

Go to the settings page

Using the menu, switch to the settings page. Then, click switch to the DICT servers page.

App menu
Settings page
2

Add a dictionary server

You can add your owns dictionary servers using the "Add a server button".

DICT servers settings
Add server modal
3

Enable "search from DICT servers" and turn on desired servers

DICT server search enabled
Wanted servers enabled
4

Select "DICT servers" as search source and start browsing dictionaries servers !

Search source selection
Browsing DICT servers from Remède !
Simplified definition page

Support

Device
Support
Method

🟢 Android

Native TCP request client, with Java.

🍎 iOS

Future : With a proxy owned by Remède.

🖥️ Desktop

Future : With a proxy owned by Remède.

The support of this functionality is limited because the DICT protocol is based on the TCP protocol. Remède is powered by web technologies (Javascript, HTML, CSS), and Javascript does not allows us to use TCP Sockets. The only two methods are to write a TCP Socket client with native code (like we do for Android) or to send the request through a proxy server.

The proxy server is owned and developed by Remède (see NO LINK YET)

Last updated

Was this helpful?