<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _build_pentameter_templates(self) -> List[str]: """Create pentameter templates."""

        return [  # '-UU|-UU|-|-UU|-UU|X'
            self.constants.DACTYL + self.constants.DACTYL +
            self.constants.STRESSED + self.constants.DACTYL + self.constants.DACTYL
            + self.constants.OPTIONAL_ENDING,
            #   '-UU|--|-|-UU|-UU|X'
            self.constants.DACTYL + self.constants.SPONDEE +
            self.constants.STRESSED + self.constants.DACTYL + self.constants.DACTYL
            + self.constants.OPTIONAL_ENDING,
            #  '--|-UU|-|-UU|-UU|X'
            self.constants.SPONDEE + self.constants.DACTYL +
            self.constants.STRESSED + self.constants.DACTYL + self.constants.DACTYL
            + self.constants.OPTIONAL_ENDING,
            #  '--|--|-|-UU|-UU|X'
            self.constants.SPONDEE + self.constants.SPONDEE +
            self.constants.STRESSED + self.constants.DACTYL + self.constants.DACTYL
            + self.constants.OPTIONAL_ENDING]