Question: How can I replace all punctuation with spaces before breaking into words ( creating the function: ` wordsnopunc / 1 ` ) . I vaguely

How can I replace all punctuation with spaces before breaking into words (creating the function: `wordsnopunc/1`). I vaguely understand the concept but am really struggling to get it to function properly in SWI-Prolog. Thank you so much for any help you can provide.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!