Text this: Intelligent Pattern Recognition Using Distributed Fiber Optic Sensors for Smart Environment