1   package eu.fbk.dh.tint.simplifier.rules;
2   
3   import java.util.ArrayList;
4   import java.util.HashMap;
5   import java.util.List;
6   import java.util.Map;
7   
8   /**
9    * Created by alessio on 15/02/17.
10   */
11  
12  public class GarantendoSplittingRule extends SimpleSplittingRule{
13  
14      public GarantendoSplittingRule() {
15          List<String> words = new ArrayList<>();
16          Map<Integer, String> replacements = new HashMap<>();
17          words.add(",");
18          words.add("garantendo");
19          words.add("così");
20          replacements.put(0, "");
21          replacements.put(1, "Si garantisce");
22          setWords(words);
23          setReplacements(replacements);
24          setHead(1);
25      }
26  }