Creates an Element based on the parameter.


- word (String)
- The word to create an Element for

Element object based on the word

If the word is hyphenated it returns a GroupElement containing the word and the word in a PhraseElement without hyphens.
If the word is not hyphenated it returns a WordElement, or a WildcardWordElement if the word contains a wildcard.