private void createModelFieldPanel(JPanel panel) {

		JLabel modelLabel = new GLabel("Word Model: ");
		modelLabel.setName("wordModel");
		modelLabel.setToolTipText(
			"<html>" + "Strings Analyzer model used to detect high-confidence words.<br> " +
				"Model files are built using Ghidra's BuildStringModels class.<br><br>" +
				"(see help for updating model)");
		panel.add(modelLabel);

		JPanel modelFieldPanel = new JPanel();
		modelFieldPanel.setLayout(new BoxLayout(modelFieldPanel, BoxLayout.X_AXIS));
		wordModelField = new JTextField("StringModel.sng");
		wordModelField.setName("modelDefault");
		modelFieldPanel.add(wordModelField);

		// Set up a file chooser that allows the user to select a new *.sng file.
		JButton browseButton = new BrowseButton();
		browseButton.addActionListener(e -> {
			GhidraFileChooser chooser = new GhidraFileChooser(panel);
			chooser.setTitle("Select Word Model File");
			chooser.setMultiSelectionEnabled(false);
			chooser.setFileFilter(new ExtensionFileFilter("sng", "Word File"));

			File selectedFile = chooser.getSelectedFile();
			chooser.dispose();
			if (selectedFile == null) {
				return;
			}

			// Important to only save off the name of the file. The NGramUtils call that
			// loads the file will search for the file given this name.
			wordModelField.setText(selectedFile.getName());
		});

		modelFieldPanel.add(browseButton);

		panel.add(modelFieldPanel);
	}
Creates the panel containing the Word Model options field.

@param panel the parent panel this is to be added to (uses Pair layout)
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/string/SearchStringDialog.java