public static LispTree entryToLispTree(LexicalEntry rawEntry) {
LispTree result = LispTree.proto.newList();
if (rawEntry instanceof LexicalEntry.EntityLexicalEntry) {
LexicalEntry.EntityLexicalEntry entry = (LexicalEntry.EntityLexicalEntry) rawEntry;
result.addChild("entity");
result.addChild(entry.textDescription);
result.addChild(entry.normalizedTextDesc);
result.addChild(setToLispTree(entry.fbDescriptions));
result.addChild(entry.formula.toString());