Skip to content

N-gram character models #107

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 13, 2017
Merged

N-gram character models #107

merged 2 commits into from
Oct 13, 2017

Conversation

prakamya-mishra
Copy link
Contributor

This is with reference to #103 .

Copy link
Contributor

@redblobgames redblobgames left a comment

Choose a reason for hiding this comment

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

Looks good! Only minor changes needed

@@ -5,18 +5,34 @@
<link rel="stylesheet" href="../styles.css">
<script src="http://code.jquery.com/jquery-1.12.4.js"></script>
<script type="text/javascript" src="../main.js"></script>
<script type="text/javascript" src="../22-Natural-Language-Processing/nGramModels.js"></script>
Copy link
Contributor

Choose a reason for hiding this comment

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

This can be simpler as src="nGramModels.js"

<button type="submit" class="submit btn btn-success">Submit</button>
</div>
</form>
<span><h5>Character Level Unigrams :-</h5></span><div id="character-level-unigram"></div><br>
Copy link
Contributor

Choose a reason for hiding this comment

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

A span is an “inline element” and an h5 is a “block element”. Normally a block element can contain inline elements, but inline elements should not contain block elements. I think you can remove the span here

@redblobgames
Copy link
Contributor

Bug: try entering some text, click submit, then click submit again. It duplicates the text.

@prakamya-mishra
Copy link
Contributor Author

@redblobgames i think now its all working correctly.

@redblobgames
Copy link
Contributor

Great!

@redblobgames redblobgames merged commit 1a3408d into aimacode:master Oct 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants