unhammer
|
codepad
|
|
unhammer
|
Saved pastes by unhammer:
#!/bin/bash
decodehtmlentities='#!/usr/bin/env python2
import sys, codecs
sys.stdin = codecs.getreader("utf-8")(sys.stdin)
|
view (15 lines) |
diff --git a/Makefile.am b/Makefile.am
index 2bb2864..8b21a4d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -30,27 +30,27 @@ TARGETS_COMMON = \
|
view (961 lines) |
# Get the language pair and compile:
$ svn co https://apertium.svn.sourceforge.net/svnroot/apertium/trunk/apertium-nn-nb
$ sh autogen.sh
$ make
|
view (20 lines, 3 comments) |
BEGIN { FS = "/" } ;
{
# Grep out those analyses where lemma == surfaceform
sub(/^\^/,"", $1); # $1 == surfaceform, the lemmas we want
printf "^%s", $1;
|
view (20 lines) |
$ cat sme/src/pp-sme-lex.txt |sed 's/ *!.*//'|grep '\(Pp\|Postp\|Prep\) *; *$'|sed 's%+Use/Sub%%'|sed 's/^ *//'|sed 's/^\(.*\):\1\(9\)* /\1 /'|sed 's/:[^ ]*//'
|
view (1 line) |
$ echo '^mannat<V><IV><PrsPrc>$ ^Israel<N><Prop><Plc><Sg><Loc>$ ^girječálli<N><Actor><Sg><Nom>$ ^10<Num><Sg><Nom>$' | hfst-proc -g fin-sme.autogen.hfst
manni Israelas/Israelis girječálli 10
$ echo manni Israelas Israelis Israelan Israelin Israel:s girječálli 10 | tr ' ' '\n' | hfst-lookup .deps/sme-fin.automorf.useless.tmp
manni manni+CmpN/SgN+CmpN/SgG+CmpN/PlG+N+Actor+Sg+Nom
|
view (32 lines) |
2010-01-23:
<spectie> – Dušše unnitlohku duostá ovddidit oaiviliid dán áššis, dan botta go
eanas olbmot servvodagas ja erenoamážit risttalaččat, váldet
muslimaid vuostá rabas gieđaiguin. Mun imaštalan maiddái mo Romssa
|
view (33 lines) |