Automatic acoustic classification of insect species based on directed acyclic graphs