A study of Bose-Einstein correlations in semi-inclusive and inclusive K+p reactions at 32 GeV/c