Hi ,
This issue we recenty encounter and its because when we package the oak synonynms it will have only one content.xml file which includes all nodes and its types information like nt:unstructured.
So instead of putting same structure in IDE for build we need to add content.xml in each level with node details primary type.
Like in your case content.xml on same level of analyser folder and need to put the .content.xml whith primaryType as nt:unstructure, and instead of <jcr:root> you need to add <analyser>. Same for other node also.
Please let me know if you require more info 🙂