List < String > function ( String arg0 ) { ArrayList < String > loc0 = new ArrayList < String > ( ) ; Pattern loc1 = Pattern . compile ( arg0 ) ; Matcher loc2 = loc1 . matcher ( text ) ; while ( loc2 . find ( ) ) { loc0 . add ( loc2 . group ( ) ) ; } return loc0 ; }
returns the tokens that match the regex pattern from the document text string . concode_field_sep String text concode_field_sep int getNumSyllables concode_elem_sep int countSyllables concode_elem_sep String getText concode_elem_sep int getNumWords concode_elem_sep double getFleschScore concode_elem_sep int getNumSentences concode_elem_sep boolean testCase