renamed gem to text_linear to follow gem conventions better
added an empty dictionary class