private void btnSearchActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnSearchActionPerformed
        String verb = txtSearch.getText();
        verb = verb.replaceAll("ي", "ی");
        lblClusterResult.setText("");

        DefaultListModel verbModel =(DefaultListModel) lstVerbResults.getModel();
        verbModel.clear();
        DefaultListModel clusterModel = (DefaultListModel) lstClusterResults.getModel();
        clusterModel.clear();
        int ind = 0;
        
        Iterator<Integer> iter = map.keySet().iterator();
        while(iter.hasNext()) {
            int id = iter.next();
            List<String> list = map.get(id);
            if (rbFullMatch.isSelected() == true) {
                boolean find = false;
                for(int i = 0; i < list.size(); i++) {
                    if (list.get(i).equals(verb)) {
                        lblClusterResult.setText(String.valueOf(id));
                        find = true;
                        break;
                    }
                }
                if (find == true)
                    break;
            }
            else {
                for(int i = 0; i < list.size(); i++) {
                    if (list.get(i).indexOf(verb) != -1) {
                        verbModel.add(ind, list.get(i));
                        clusterModel.add(ind, String.valueOf(id));
                        ind++;
                    }
                }                
            }
        }
        
        if (rbFullMatch.isSelected() == true && lblClusterResult.getText().length() == 0) {
            lblClusterResult.setText("Not Found.");
        }
    }//GEN-LAST:event_btnSearchActionPerformed