Peel, wash and roughly grate the carrots. Peel and finely dice onions and garlic. Wash and halve the tomatoes. Grate parmesan finely.
Roughly chop the almonds. Roast in a large pan without fat, remove. Cook the pasta in 3-4 l boiling salted water (approx. 1 teaspoon salt per litre) according to the instructions on the packet.
In the meantime heat butter in a frying pan. Stir-fry the carrots, onions and garlic for about 8 minutes. Sprinkle with sugar and steam briefly. Add the tomatoes and continue to steam for 3-4 minutes. Season to taste with salt and 1 tsp. chilli.
Remove approx. 150 ml of cooking water from the noodles. Pour 100 ml of it into the pan with the carrots, bring to the boil. Drain the noodles and put them back into the pan. Mix the carrot sauce, ricotta and parmesan into the pasta.
Simmer at low heat for about 2 minutes, diluting with remaining pasta water if necessary. Fold in almonds. Season to taste with salt, pepper and lemon juice.