comma_join#

montreal_forced_aligner.helper.comma_join(sequence)[source]#

Helper function to combine a list into a human-readable expression with commas and a final “and” separator

Parameters:

sequence (list[Any]) – Items to join together into a list

Returns:

Joined items in list format

Return type:

str