SANTA CLARA, Calif. — The San Francisco 49ers have signed rookie outside linebacker Corey Lemonier to a four-year contract.