User:Jimregan

From Apertium
Revision as of 00:57, 24 September 2011 by Jimregan (talk | contribs) (→‎One-liners: add my *excellent* multiple translation lister function. If you're still backtracking from the target, you're only wasting your own time)
Jump to navigation Jump to search

IRC nick: jimregan

One-liners

filtered-expand () { if [ $1 = "rl" ]; then dir=":<:"; else dir=":>:";fi; lt-expand $2 |grep -v __REGEXP__|grep -v '^:<:'|grep -v ':>:$' |grep -v $dir ; }
select-expand () { if [ $1 = "lr" ]; then dir=":<:"; else dir=":>:";fi; lt-expand $2 |grep -v __REGEXP__|grep -v '^:<:'|grep -v ':>:$' |grep -v $dir ; }

list-multiple () { select-expand $1 $2 | awk -F':|:<:|:>:' -v dir="$1" '{ if (dir == "lr") print "^" $1 "$"; else print "^" $2 "$" }' | lt-proc -b $3 | awk -F/ '(NF > 2) { print $0 }' ; }

Random IRC

<jimregan>      pl->cs adjectives up 17%
<jimregan>      like they friggin' shares or somthing
<jimregan>      *they're
<jimregan>      *something
<jimregan>      damn
<spectie>       haha
<Kanmuri>       "In market news today, PLCS ADJ was up 17%, while JR TYPNG was down 25%" ;D

On spectie and questions...

<jimregan2> still though
<jimregan2> if the question ever comes about how to shoot your own leg off, you'd happily discuss aiming techniques
<spectie> haha
<spectie> ...or chop of your own legs with an axe while sitting in a wheelchair...
<jimregan2> Fuck! You've /thought/ about it!
<spectie> http://jayg123.googlepages.com/bestexitinterviewever
<spectie> LOL

Polish dictionaries

Untranslatable

- Wczoraj, bandyta napadł mię (Yesterday, a bandit attacked me)
- Co się stało? (What happened?)
- Mówił pieniądze albo śmierć (He said "money or death")
- A co zrobiłeś? (What did you do?)
- Ale śmierdziałem! (Oh, but I stank)

(Voiced consonants in Polish become devoiced at the end of words, so "śmierdź" and "śmierć" sound the same.)