@@ -0,0 +1,1461 @@
+package com.alexrnl.subtitlecorrector.service;%0A%0Aimport com.alexrnl.commons.utils.Word;%0A%0A/**%0A * Interface for a user prompt class.%3Cbr /%3E%0A * This class will be used by the correction strategies to confirm string replacement.%0A * @author Alex%0A */%0Apublic interface UserPrompt %7B%0A%09%0A%09/**%0A%09 * Prompt the user to confirm a replacement of a %7B@link Word%7D.%3Cbr /%3E%0A%09 * Ask the user to confirm the replacement of the %3Ccode%3Eoriginal%3C/code%3E %7B@link Word%7D by the%0A%09 * %3Ccode%3Ereplacement%3C/code%3E String.%0A%09 * @param context%0A%09 *        The context of the replacement, which will be shown to the user. %3Ccode%3Enull%3C/code%3E for%0A%09 *        no context.%0A%09 * @param original%0A%09 *        the original %7B@link Word%7D, which will be replaced.%0A%09 * @param replacement%0A%09 *        the replacement which should be used in place of the original word.%0A%09 * @return the answer of the user.%0A%09 */%0A%09UserPromptAnswer confirm (String context, Word original, String replacement);%0A%09%0A%09/**%0A%09 * Prompt the user to confirm a replacement of a %7B@link Word%7D.%3Cbr /%3E%0A%09 * Ask the user to confirm the replacement of the %3Ccode%3Eoriginal%3C/code%3E %7B@link Word%7D by the%0A%09 * %3Ccode%3Ereplacement%3C/code%3E String.%0A%09 * @param original%0A%09 *        the original %7B@link Word%7D, which will be replaced.%0A%09 * @param replacement%0A%09 *        the replacement which should be used in place of the original word.%0A%09 * @return the answer of the user.%0A%09 * @see #confirm(String, Word, String)%0A%09 */%0A%09UserPromptAnswer confirm (Word original, String replacement);%0A%7D%0A

Add a UserPrompt interface