Shape vote = commonVote(glyph);
Shape vote; if (common) { vote = commonVote(glyph); } else { vote = GlyphNetwork.getInstance().vote(glyph); }
    public void evaluateGlyphs ()    {        int acceptNb = 0;        int knownNb = 0;        int noiseNb = 0;        int clutterNb = 0;        for (int id = sheet.getFirstSymbolId();             id <= vLag.getLastGlyphId(); id++) {            Glyph glyph = vLag.getGlyph(id);            if (glyph != null) {                if (glyph.getShape() == null) {                    Shape vote = commonVote(glyph);                    if (vote != null) {                        glyph.setShape(vote);                        acceptNb++;                        if (glyph.isKnown()) {                            knownNb++;                        } else if (vote == Shape.NOISE) {                            noiseNb++;                        } else if (vote == Shape.CLUTTER) {                            clutterNb++;                        }                    }                }            }        }        logger.info(acceptNb + " glyph(s) accepted (" +                    knownNb + " as known, " +                    noiseNb + " as noise, " +                    clutterNb + " as clutter)");    }