Text this: Estimating foreign resource needs for economic development