Sentences

trait Sentences

This does some simple replacements in sentences to negate them.

For example: the cat must sleep => the cat must not sleep

Companion:
object
class Object
trait Matchable
class Any
object Sentences.type

Value members

Concrete methods

def negateSentence(sentence: String): String

replace the first occurrence of a verb in the negations table with its negation.

replace the first occurrence of a verb in the negations table with its negation.

We first try to negate an existing negation