Soak the lentils overnight, then rinse them well. Peel and dice the carrot and celery into small cubes, and cut the pumpkin into 1.5-2 cm (about 3/4 inch) cubes.
Heat the vegetable oil in a heavy-based saucepan, add the carrot and celery and saute over medium heat, stirring, for about 4 minutes.
Add the pumpkin and stew, stirring, for another 5 minutes.
Add the paprika and the lentils to the pan and keep stirring for 1 minute.
Pour in the broth, bring to the boil, then simmer over low heat under a lid for 10 minutes.
Add the crushed tomatoes with their juice and the thyme, salt to taste, and cook until the lentils are fully tender, about 10 minutes more.
Serve the soup hot, scattered with plenty of fresh herbs.