@Override
	public void addEntry(Entry entry) throws IOException {
		if (exampleWord == null) {
			exampleWord = entry.getWord();
		}
		if (r.nextInt(100) == 1) {
			exampleWord = entry.getWord();
		}
		
		wordBuilder.append("'" + escape(entry.getWord()) + "',");
		definitionBuilder.append("'" + escape(entry.getDefinition()) + "',");
		notesBuilder.append("'" + escape(entry.getNotes()) + "',");
		categoryBuilder.append("'" + escape(entry.getCategory()) + "',");
		
		tagsBuilder.append("[");
		for (String tag : entry.getTags()) {
			tagsBuilder.append("'" + escape(tag) + "',");
		}
		tagsBuilder.append("],");
	}