stuff to write about



BIO notation

Inside-Outside Algorithm

HPSG

HPSG (Head-Driven Phrase Structure Grammar) 

Stanford and Berkeley espouse this syntactic theory.
It is a "highly lexicalized, non-derivational generative grammar theory."
It is a type of phrase structure grammar, as oppsed to a dependency grammar (The syntactic trees I learned are dependency grammars).


sed one-liners


sed 's/ Телефон: /\t/' filename             # basic search and replace
sed 's/ [-] .*//' filename                       # put tricky chars in []
sed 's/\&amp/\&/' filename                  # example of escaped char
sed 's/.\{1\}/& /g' filename                   # insert 1 space between each char
sed 's/.\{2\}/& /g' filename                   # insert 2 spaces between each char
sed 's/\(.*\)\/word$/word\1/' filename     # search and replace with a captured pattern () on LHS and \1 on RHS
sed 's/word/&\n/' filename                   # search and replace insert a newline
sed '/^\s*$/d' filename                         # delete blank line




Good resources for one-liners with examples 
http://sed.sourceforge.net/sed1line.txt

Starting Off in Python


We’ll start off by looking at material from these sites.
http://www.astro.ufl.edu/~warner/prog/python.html
http://www.sthurlow.com/python/

http://learnpythonthehardway.org/book/ <- recommended for new programmers