This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Citronen Fjordimi suliniut nunarsuarmi zinkinik aqerlunik peqarnersaasut ilaanniippoq . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
project(example CXX) | |
find_package(PkgConfig REQUIRED) | |
pkg_search_module(LIBEVDEV REQUIRED libevdev) | |
add_executable(example example.cpp) | |
target_include_directories(example PRIVATE ${LIBEVDEV_INCLUDE_DIRS}) | |
target_link_libraries(example PRIVATE ${LIBEVDEV_LIBRARIES}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# In a quay.io/pypa/manylinux_2_28_x86_64 container: | |
dnf update | |
dnf install flex bison readline-devel libicu-devel libtool swig pkgconfig readline-devel zlib-devel autoconf automake gcc-toolset-12-libatomic-devel | |
cd /home/tino/manylinux_2_28/foma/foma/ | |
cmake . | |
make clean | |
time make -j8 2>&1 | tee build.log | |
make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env php | |
<?php | |
/* | |
USAGE: | |
./cg-combsets.php kalcg.dansyn kalcg.dan kalcg.dep kalcg.extra kalcg.pre > sets.cg3 | |
Parses all given grammars and spits out all sets used across all grammars, and marks conflicts for manual inspection. | |
Used to create a combined deduplicated sets.cg3 that multiple grammars can Include. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aftagende | |
akut | |
almindelig | |
belgisk | |
betydningsfuld | |
blød | |
bæredygtig | |
cirkulær | |
delelig | |
deltagende |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json", | |
"meta": { | |
"theme": "elegant" | |
}, | |
"basics": { | |
"name": "Tino Didriksen", | |
"label": "Software Developer and Computational Linguist", | |
"email": "mail@tinodidriksen.com", | |
"url": "https://tinodidriksen.com/", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo -e 'Nuuk\nQaanaaq\nAasiaat' | ~/langtech/kal/tools/shellscripts/kal-tokenise | cg-conv -c -F | grep -F Prop+Abs | lg-multi.pl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ pacman -S cmake make mingw-w64-x86_64-gcc mingw-w64-x86_64-boost |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grep -rl '<?php' * | xargs -r grep -rl '?>' | xargs -rn1 php -r '$f=file_get_contents($argv[1]); if (preg_match("~[?]>[\s\n]*$~", $f)) { $f = trim(preg_replace("~[?]>[\s\n]*$~", "", $f))."\n"; file_put_contents($argv[1], $f); }' -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<word>En</word> | |
"<en>" | |
"en" det mask ent kvant | |
"en" adv | |
"en" pron ent pers hum | |
"ene" verb imp | |
<word>serbisk</word> | |
"<serbisk>" | |
"serbisk" adj ub m/f ent pos | |
"serbisk" adj nøyt ub ent pos |
NewerOlder