<commit_before>package nl.mpi.kinnate.ui.menu;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.net.URI;
import java.net.URISyntaxException;
import javax.swing.JMenu;
import javax.swing.JMenuItem;
import nl.mpi.arbil.ui.ArbilWindowManager;
import nl.mpi.arbil.ui.GuiHelper;
import nl.mpi.kinnate.ui.window.AbstractDiagramManager;

/**
 *  Document   : RecentFileMenu
 *  Created on : Apr 15, 2011, 11:30:39 AM
 *  Author     : <NAME>
 */
public class SamplesFileMenu extends JMenu implements ActionListener {

    AbstractDiagramManager diagramWindowManager;

    public SamplesFileMenu(AbstractDiagramManager diagramWindowManager) {
        this.diagramWindowManager = diagramWindowManager;
        addSampleToMenu("Freeform Diagram Syntax", "FreeformDiagramSyntax.svg");
        addSampleToMenu("Application Overview", "ApplicationOverview.svg");
        addSampleToMenu("Hawaiian Kin Terms", "HawaiianKinTerms.svg");
        addSampleToMenu("Japanese Kin Terms", "JapaneseKinTerms.svg");
        addSampleToMenu("Swedish Kin Terms", "SwedishKinTerms.svg");
//        addSampleToMenu("Custom Symbols", "CustomSymbols.svg");
        addSampleToMenu("Named Transient Entities", "NamedTransientEntities.svg");
//        addSampleToMenu("Cha'palaa Kin Terms", "ChapalaaKinTerms.svg");
//        addSampleToMenu("Gendered Ego", "GenderedEgo.svg");
        addSampleToMenu("Olivier Kyburz Examples", "N40.svg");
//        addSampleToMenu("Archive Link Example", "ArchiveLinks.svg");
        addSampleToMenu("Charles II of Spain", "Charles_II_of_Spain.svg");
        addSampleToMenu("Imported Data Query Example (ANTONIO DE PAULA PESSOA DE /FIGUEIREDO/)", "QueryExample.svg");
//        addSampleToMenu("Imported Entities (600)", "600ImportedEntities.svg");
//        addSampleToMenu("R Usage of the Entity Server", "R-ServerUsage.svg");
    }
<commit_msg>Added sample diagram for the query syntax.<commit_after>package nl.mpi.kinnate.ui.menu;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.net.URI;
import java.net.URISyntaxException;
import javax.swing.JMenu;
import javax.swing.JMenuItem;
import nl.mpi.arbil.ui.ArbilWindowManager;
import nl.mpi.arbil.ui.GuiHelper;
import nl.mpi.kinnate.ui.window.AbstractDiagramManager;

/**
 *  Document   : RecentFileMenu
 *  Created on : Apr 15, 2011, 11:30:39 AM
 *  Author     : <NAME>
 */
public class SamplesFileMenu extends JMenu implements ActionListener {

    AbstractDiagramManager diagramWindowManager;

    public SamplesFileMenu(AbstractDiagramManager diagramWindowManager) {
        this.diagramWindowManager = diagramWindowManager;
        addSampleToMenu("Freeform Diagram Syntax", "FreeformDiagramSyntax.svg");
        addSampleToMenu("Query Diagram Syntax", "QueryDiagramSyntax.svg");
        addSampleToMenu("Application Overview", "ApplicationOverview.svg");
        addSampleToMenu("Hawaiian Kin Terms", "HawaiianKinTerms.svg");
        addSampleToMenu("Japanese Kin Terms", "JapaneseKinTerms.svg");
        addSampleToMenu("Swedish Kin Terms", "SwedishKinTerms.svg");
//        addSampleToMenu("Custom Symbols", "CustomSymbols.svg");
        addSampleToMenu("Named Transient Entities", "NamedTransientEntities.svg");
//        addSampleToMenu("Cha'palaa Kin Terms", "ChapalaaKinTerms.svg");
//        addSampleToMenu("Gendered Ego", "GenderedEgo.svg");
        addSampleToMenu("Olivier Kyburz Examples", "N40.svg");
//        addSampleToMenu("Archive Link Example", "ArchiveLinks.svg");
        addSampleToMenu("Charles II of Spain", "Charles_II_of_Spain.svg");
        addSampleToMenu("Imported Data Query Example (ANTONIO DE PAULA PESSOA DE /FIGUEIREDO/)", "QueryExample.svg");
//        addSampleToMenu("Imported Entities (600)", "600ImportedEntities.svg");
//        addSampleToMenu("R Usage of the Entity Server", "R-ServerUsage.svg");
    }

{'fraction_non_alphanumeric': 0.11855670103092783, 'fraction_numerical': 0.010309278350515464, 'mean_word_length': 4.443197755960729, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6720258', 'n_tokens_mistral': 1242, 'n_tokens_neox': 1159, 'n_words': 236}