We report the complex dielectric function of the quasi-one-dimensional chalcogenide Ta2NiSe5, which exhibits a structural phase transition that has been attributed to exciton condensation below Tc = 326 K [1, 2], and of the isostructural Ta2NiS5 which does not exhibit such a transition. Using spectroscopic ellipsometry, we have detected exciton doublets with pronounced Fano lineshapes in both the compounds. The exciton Fano resonances in Ta2NiSe5 display an order of magnitude higher intensity than those in Ta2NiS5. In conjunction with prior theoretical work [3], we attribute this observation to the giant oscillator strength of spatially extended exciton-phonon bound states in Ta2NiSe5. The formation of exciton-phonon complexes in Ta2NiS5 and Ta2NiSe5 is confirmed by the pronounced temperature dependence of sharp interband transitions in the optical spectra, whose peak energies and widths scale with the thermal population of optical phonon modes. The description of the optically excited states in terms of strongly overlapping exciton complexes is in good agreement with the hypothesis of an EI ground state. arXiv:1702.05953v1 [cond-mat.str-el]