import grammar.util.Utilities;
public class CommandFactory {
public static Command interpret(Language language, String commandText) {
String[] words = commandText.split(" ");
Action action = Action.valueOf(Utilities.asConstantName(words[0]));
words = Arrays.copyOfRange(words, 1, words.length);
String[] wordsNoConj = removeConjunctions(words);
List<XCommandParser> cps = Arrays.asList(new XCommandParser[] {