Skip to content

Conversation

@ksobon
Copy link
Collaborator

@ksobon ksobon commented May 12, 2019

This PR addresses @johnpierson issue raised here: #9

This issue was addressed two fold:

  • firstly by adding a status icon next to the Train Menu Item that would indicate to the user that something is amiss:

image

  • secondly by showing user a warning dialog if he/she attempts to launch the window before training files exist:

image

Once the model has been properly trained the status icon would be reset to the following:

image

@ksobon ksobon added bug Something isn't working enhancement New feature or request labels May 12, 2019
@ksobon ksobon requested review from QilongTang and mitevpi May 12, 2019 01:44
@ksobon ksobon self-assigned this May 12, 2019
/// <returns>True if required files exist, otherwise false.</returns>
private static bool Trained()
{
return File.Exists(Path.Combine(ThesaurusDirectory, "thesaurus_bayes.accord")) &&
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's make these file names res somewhere

@QilongTang
Copy link
Collaborator

Any reason why you prefer a blue check other than a green one? Other than this, looks fine to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants