To split a String into words (tokens) where delimiter is white space...
String delims = "[ ]+";
String[] tokens = someLongString.split(delims);
Now you can look thru the tokens and do comparisons, etc.
I write about evolutionary anthropology, behavioral sciences, and related AI, particularly small, specialized Deep Neural Networks and LLMs.
No comments:
Post a Comment
Please be polite.