måndag 5 juli 2010

From GF to Julian

I'm trying to work my self from GF over to Julius.
The Julian grammar is a modified version of a BNF.
GF can generate SRGS in both Augmented BNF and XML.


GF on Ubuntu

This is just a newbie reminder on how to get GF working under Ubuntu:
1. Download the GF executable from this link.
2. Installation instructions:
$ gunzip gf-3.1.6-bin-i486-linux.gz
$ sudo mv gf-3.1.6-bin-i486-linux.gz /usr/local/bin/gf
$ sudo chmod 755 /usr/local/bin/gf
$ gf

onsdag 30 juni 2010

Getting Ack to Work in Vim on Ubuntu

Text editor search integration for Vim: plugin for ack. If you’re running Ubuntu, when you try the plugin you’ll likely encounter the message ”/bin/bash: ack: command not found”.

According the the instructions on the ack Vim plugin page you have to install it with “sudo aptitude install ack-grep”. After that, you’ll still get “/bin/bash: ack: command not found”. The solution?

sudo ln -s /usr/bin/ack-grep /usr/local/bin/ack