final changes , input changed to vector of String

Look for generics to take any vector
look for breeze vectors