public static void initialize() {
        Scanner scanner = null;
        try {
            scanner = new Scanner(new File("postaggerkey"));
        } catch (FileNotFoundException e) {

        }

        while (scanner.hasNextLine()) {

            int indexRow = 0, indexCol = 0;
            @SuppressWarnings("resource")
            Scanner scanner2 = new Scanner(scanner.nextLine())
                    .useDelimiter(",");

            while (scanner2.hasNext()) {
                key[indexRow][indexCol] = scanner2.next();

                if (indexCol == 0) {
                    indexCol = 1;
                } else {
                    indexCol = 0;
                    indexRow++;
                }

            }

        }

        try {
            scanner = new Scanner(new File("contractions"));
        } catch (FileNotFoundException e) {

        }

        while (scanner.hasNextLine()) {

            int indexRow = 0, indexCol = 0;
            @SuppressWarnings("resource")
            Scanner scanner2 = new Scanner(scanner.nextLine()).useDelimiter(",");

            while (scanner2.hasNext()) {
                contractions[indexRow][indexCol] = scanner2.next();

                if (indexCol == 0) {
                    indexCol = 1;
                } else {
                    indexCol = 0;
                    indexRow++;
                }
            }
        }
        scanner.close();
    }