Text this: Synthesize materials of optical fibre sensor for chemical liquid detection