Words with several parts of speech

Words with several parts of speech

Using this script one can create entries with different meanings provided they have the same part of speech. Would it be possible to add the possibility to add meanings with different parts of speech? For example like in this entry.

MuDavid (talk)02:32, 19 April 2017