added bit about loglin/weighted grammars