public static List < File > getClusterLexiconFiles ( final String clusterPath ) { final List < File > clusterLexicons = new ArrayList < File > ( ) ; final String [ ] clusterPaths = clusterPath . split ( "," ) ; for ( final String clusterName : clusterPaths ) { clusterLexicons . add ( new File ( clusterName ) ) ; } return clusterLexicons ; }
Get a parameter in trainParams . prop file consisting of a list of clustering lexicons separated by comma and return a list of files one for each lexicon .