public BufferedReader openModelFile ( ) { String filename = modelDir + File . separator + modelFile ; BufferedReader fin = null ; try { fin = new BufferedReader ( new InputStreamReader ( new FileInputStream ( filename ) , "UTF-8" ) ) ; } catch ( IOException e ) { System . out . println ( e . toString ( ) ) ; return null ; } return fin ; }
Open model file .