public double compareStrings(String text1, String text2)
	{
		ArrayList<String> pairs1 = wordLetterPairs(text1.toUpperCase());
		ArrayList<String> pairs2 = wordLetterPairs(text2.toUpperCase());
		int similarityCounter = 0;
		int completeSize = pairs1.size() + pairs2.size();
		for (int i = 0; i < pairs1.size(); i++)
		{
			Object pair1 = pairs1.get(i);
			for (int j = 0; j < pairs2.size(); j++)
			{
				Object pair2 = pairs2.get(j);
				if (pair1.equals(pair2))
				{
					similarityCounter++;
					pairs2.remove(j);
					break;
				}
			}
		}
		// 2.0 => Skalierung auf Werte zwischen 0 und 1
		return (2.0 * similarityCounter) / completeSize;
	}