Did you know? SWI-Prolog has a Natural Language Processing (NLP) librarySearch Documentation:
SWI-Prolog owl logoPredicate read_stream_to_codes/3