Text this: Endogenous innovations and knowledge spillovers