Hello Ben,
It is currently not supported to import thesaurus sets from other applications, like LibreOffice/OpenOffice/WordNet. We will add it to our feature backlog.
At this point, Laserfiche doesn't support pos (part of speech or other meaning specific description; like noun and verb in your example) information for thesaurus. The thesaurus set in your example should be converted to the following XML file:
<?xml version="1.0" encoding="UTF-8"?>
<ArrayOfThesaurus xmlns="http://laserfiche.com/namespaces/fts/v3">
<Thesaurus>
<Terms>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">gong</string>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">tam-tam</string>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">percussion instrument</string>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">percussive instrument</string>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">chime</string>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">bell</string>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">sound</string>
</Terms>
</Thesaurus>
<Thesaurus>
<Terms>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">gong buoy</string>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">bell buoy</string>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">acoustic buoy</string>
</Terms>
</Thesaurus>
</ArrayOfThesaurus>
Note that the duplicates (percussion instrument, and percussive instrument appear twice in the original file) in the first Terms element are removed. Otherwise, the XML file would be rejected by the search engine.
When using WordNet (LibreOffice/OpenOffice) style thesaurus sets, Laserfiche search engine may also behave differently: it expands equivalence terms automatically. This means chime and sound, in your example, are also considered as thesaurus. This is a side effect of auto expanding. Its purpose is to make it easier to build up thesaurus set manually. Adding more control of auto expanding is also in our backlog. In addition to this, auto expanding means the following XML file also works:
<?xml version="1.0" encoding="UTF-8"?>
<ArrayOfThesaurus xmlns="http://laserfiche.com/namespaces/fts/v3">
<Thesaurus>
<Terms>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">gong</string>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">tam-tam</string>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">percussion instrument</string>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">percussive instrument</string>
</Terms>
</Thesaurus>
<Thesaurus>
<Terms>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">gong</string>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">chime</string>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">bell</string>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">percussion instrument</string>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">percussive instrument</string>
</Terms>
</Thesaurus>
<Thesaurus>
<Terms>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">gong</string>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">sound</string>
</Terms>
</Thesaurus>
<Thesaurus>
<Terms>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">gong buoy</string>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">bell buoy</string>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">acoustic buoy</string>
</Terms>
</Thesaurus>
</ArrayOfThesaurus>