dbtok: doug basic tokeniser, first attempt