{HEAD ~ A sensor} can detect {TAIL ~ the improperly seated articles} and reject them 
detect
{ HEAD ~ A sensor } can detect { TAIL ~ the improperly seated articles } and reject them
HEAD HEAD HEAD HEAD HEAD HEAD OTH REL TAIL TAIL TAIL TAIL TAIL TAIL TAIL TAIL OTH OTH OTH