Spectroscopic analysis of the plasma-neutral relaxation near to the plasma boundary