Posts

Blog posts accumulated over the time.

Calelh mòde d'emplec e gramatica

Domenge published on
3 min, 599 words

Calelh mode d’emplec e gramatica

Definicions

Vedeta : la raiça de la ierarquia es l’entrada occitana.

Clausa : es un ensemble de letras que son darrièr caractèr es un ‘:’ sens cap d’espaci entre los dos.

Ex :

  • derv:
  • f:

ClausaQualificativa : Clausa que qualifica l’atribut que seguís. Es terminala. La qualificacion es sus la meteissa linha.

Ex :

  • pos: adj. per PartOfSpeech adjectiu ;
  • f: languir per en français languir.

ClausaLocalizaira : Clausa qualificativa especializada dins la localizacion, pòt èsser non terminala.

Read More

Feminine rules from Cantalausa's dictionary

Domenge published on
3 min, 465 words

Those rules are extracted from the Cantalausa's dictionary. Whenever necessary a dictionary entry is given with a abbreviation for the feminine forms due to the sparcity of the paper edition of the dictionary. It is hard to read and do not give the feminine forms their due consideration.

In a numeric dictionary there is no place for such a biaised treatment. So we have to restaure the feminine entries by establishing a optimized listing of the inferred rules (from the abbreviations).

Then we must take care of applying each rule in the right order to avoid the side effect of a rule too greedy that could override a more precise one.

Read More

Steps for building the database for Cantalausa's dictionary

Domenge published on
5 min, 878 words

Cantalausa project

The project works on two opus of the abbot Louis Combes aka Cantalausa, the dictionary and Lenga Viva.

Cantalausa dictionary

The Cantalausa's dictionary comes with a pack of .pdf files for each letter of the occitan alphabet. From each letter we take the content of the pdf in text format to end with a batch of [letter].txt in a dedicated directory.

These files will be the raw material of the process to populate the database.

Read More

Deploying Zola (part 2) behind a proxy server

Domenge published on
3 min, 457 words

Motivation

When having some web servers running on jails or virtual machines you must have a proxy server to broadcast your requests. Once the syntax of nginx set up is understood, the configuration is a breeze.

Motivation

Nginx runs in a jail

A jail is especially dedicated to nginx. Its installation is obvious through the pkgsystem. Then the configuration files remain in `/usr/local/etc/nginx'.

Read More

Deploying Zola (part 1) on Apache 2.4

Domenge published on
5 min, 918 words

Motivation

For fun I want to host my portfolio site on a homebrew FreeBSD server running iocage jails. This portfolio site (the one you are reading now) is intented to present some of my explorations in computer science and by the side getting me hired.

For tuning up the site, a development copy must run on my desktop machine, a FreeBSD (13.0-RELEASE) + KDE plasma (5.22). So I installed zola on FreeBSD.

Motivation

I - Installation on the development computer (desktop)

1 - Zola installation on FreeBSD

dc@kahlo /u/h/dc> pkg search zola
zola-0.15.2                    Fast static site generator
dc@kahlo /u/h/dc> sudo pkg install zola

2 - Visual Studio Code installation

dc@kahlo /u/h/dc> pkg search vscode
vscode-1.63.2                  Visual Studio Code - Open Source ("Code - OSS")
dc@kahlo /u/h/dc> sudo pkg install vscode
Read More
#