public void actionPerformed(ActionEvent e) {
		if (e.getActionCommand().equals("Female")) {
			view.NBL.learn(view.NBC.fWords, view.inputField.getText());
			//view.dispose();
		}
		if (e.getActionCommand().equals("Male")) {
			view.NBL.learn(view.NBC.mWords, view.inputField.getText());
			//view.dispose();
		}
		if (e.getActionCommand().equals("Test")) {
			view.outputField.setText(view.NBC.run(view.inputField.getText()));
			if(view.outputField.getText().equals("FEMALE")){
				view.outputField.setBackground(Color.pink);
			} else if(view.outputField.getText().equals("MALE")){
				view.outputField.setBackground(Color.getHSBColor((float)0.5, (float)0.68, (float)0.76));
			} else {
				view.outputField.setBackground(Color.lightGray);

			}
			System.out.println(view.inputField.getText());
			//view.dispose();
		}
	}