In the French language, negation is a habit that consists in denying or rejecting a statement in an utterance. In this article, we will recall how negation manifests itself in statements and how chatbots can identify and handle it.
Markers of negation in French
In French, the negative marker is the adverb “pas” (equivalent of “not” in English). It is the main marker of negation and is found in both spoken and written French. This marker is very often associated with the co-negative “ne” which has the particularity of being elided*.
Although the co-negative is increasingly absent in spoken and written colloquial language, it remains an essential marker of negation in French since it can sometimes take on the role of the main negative marker on its own.
Also note that other terms in the French language carry the negation and are part of what are called “negative words” (examples: none, nothing, never, nowhere, no way, etc.).
If several terms in the French language carry the negation, how do chatbots manage to identify and process the negation?
Processing of negation
In most cases, negation is not really taken into account by chatbot engines. The processing of user input focuses on the strong words of the statement such as common nouns, verbs and possibly adverbs.
Like determiners and conjunctions, the negative marker and the co-negative are placed in the skipwords*, not to mention ” negative words “. However, it is these words and markers that allow us to semantically nuance someone’s speech.
Consider the following example: cleaning up the statements “Suivre une chaîne” (“Follow a channel”) and “Ne plus suivre une chaîne” (“Don’t follow a channel anymore”) by chatbot engines is like processing the same statement:
What about Hubi?
At Hubi.ai, we have removed the French negation markers from skipwords. The negation of statements is a very French habit and, generally, spontaneous.
As user input processing is refined, Hubi’s performance and accuracy are improved: confusions between statements and their opposites are limited.
Also, you will no longer have to search for the antonym of a term to make a request to your chatbot. “Ne plus suivre” (“Stop following”) will be treated as a synonym for “Se désabonner” (“Unsubscribe”).
So when you ask Hubi how to unsubscribe from a channel, Hubi will provide you with the information to unsubscribe from a channel. The nuances brought by the negation in your speech will be well taken into account.