private Entities toEntities ( final JsonNode node , String text ) throws IOException { if ( null == node || node . isNull ( ) || node . isMissingNode ( ) ) { return null ; } final ObjectMapper mapper = this . createMapper ( ) ; Entities entities = mapper . readerFor ( Entities . class ) . readValue ( node ) ; extractTickerSymbolEntitiesFromText ( text , entities ) ; return entities ; }
passing in text to fetch ticker symbol pseudo - entities