Skip to content

Commit

Permalink
updated grammar database
Browse files Browse the repository at this point in the history
  • Loading branch information
Pete Boysen committed Mar 1, 2016
1 parent 4a8c80f commit b171ec5
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 70 deletions.
12 changes: 11 additions & 1 deletion grammar.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
<title>ProseMirror Widgets Examples</title>
<script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
<script src="//handsontable.com/dist/handsontable.full.js"></script>
<script src="amcharts/amcharts.js"></script>
<script src="amcharts/serial.js"></script>
<script src="amcharts/gantt.js"></script>
<script src="amcharts/pie.js"></script>
<script src="amcharts/funnel.js"></script>
<script src="amcharts/gauge.js"></script>
<script src="amcharts/radar.js"></script>
<script src="amcharts/xy"></script>
<script src="ammap/ammap_amcharts_extension.js"></script>
<script src="amcharts/plugins/dataloader/dataloader"></script>
<link rel="stylesheet" media="screen" href="//handsontable.com/dist/handsontable.full.css">
<style>
body {
Expand Down Expand Up @@ -42,4 +52,4 @@ <h4>ProseMirror Grammar Example</h4>
</p>
</div>

<script src="grammar-built-min.js"></script>
<script src="grammar-built.js"></script>
114 changes: 57 additions & 57 deletions grammar.json
Original file line number Diff line number Diff line change
@@ -1,60 +1,60 @@
[
["irregardless, regardless","Which one is right?"],
["for all intensive purposes, for all intents and purposes","Which one is right?"],
["same difference, no significant difference","Which one is right?"],
["'s, s'","Which one is right?"],
["media is, media are","Which one is right?"],
["criteria, criterion","Which one is right?"],
["data is, data are","Which one is right?"],
["data does","Which one is right?"],
["a lot, allot, alot","Which one is right?"],
["farther, further","Which one is right?"],
["imminent, eminent","Which one is right?"],
["regimen, regiment, regime","Which one is right?"],
["rain, rein","Which one is right?"],
["pour over, pore over","Which one is right?"],
["peak, peek, pique","Which one is right?"],
["who, whom","Which one is right?"],
["who's, whose","Which one is right?"],
["-, --, ---","Which one is right?"],
["its, it's","Which one is right?"],
["then, than","Which one is right?"],
["bated, baited","Which one is right?"],
["accidently, accidentally","Which one is right?"],
["racked, wracked","Which one is right?"],
["into, in to","Which one is right?"],
["literally","Which one is right?"],
["edition, addition","Which one is right?"],
["360-degree turn","Aren't you heading in the same direction?"],
["hone, home","Which one is right?"],
["mute, moot","Which one is right?"],
["center around","Which one is right?"],
["penultimate, ultimate","Which one is right?"],
["flush it out, flesh it out","Which one is right?"],
["could of, would of, should of","Which one is right?"],
["that, who","Which one is right?"],
["orientate, orient","Which one is right?"],
["toward, towards","Which one is right?"],
["physical, fiscal","Which one is right?"],
["affect, effect","Which one is right?"],
["to, two, too","Which one is right?"],
["your, you're","Which one is right?"],
["there, their, they're","Which one is right?"],
["loose, lose","Which one is right?"],
["could of, would of, should of","Which one is right?"],
["complement, compliment","Which one is right?"],
["fewer, less","Which one is right?"],
["historic, historical","Which one is right?"],
["principal, principle","Which one is right?"],
["unique","Which one is right?"],
["lay, lie","Which one is right?"],
["irregardless, regardless","Used by people who ignorantly mean to say regardless. "],
["for all intensive purposes, for all intents and purposes","Used by people who ignorantly mean to say regardless. "],
["same difference, no significant difference","Another way of saying 'whatever'."],
["'s, s'","Used by people who ignorantly mean to say regardless. "],
["media is, media are","Used by people who ignorantly mean to say regardless. "],
["criteria, criterion","Used by people who ignorantly mean to say regardless. "],
["data is, data are","Used by people who ignorantly mean to say regardless. "],
["data does","Used by people who ignorantly mean to say regardless. "],
["a lot, allot, alot","Used by people who ignorantly mean to say regardless. "],
["farther, further","Used by people who ignorantly mean to say regardless. "],
["imminent, eminent","Used by people who ignorantly mean to say regardless. "],
["regimen, regiment, regime","Used by people who ignorantly mean to say regardless. "],
["rain, rein","Used by people who ignorantly mean to say regardless. "],
["pour over, pore over","Used by people who ignorantly mean to say regardless. "],
["peak, peek, pique","Used by people who ignorantly mean to say regardless. "],
["who, whom","Used by people who ignorantly mean to say regardless. "],
["who's, whose","Used by people who ignorantly mean to say regardless. "],
["-, --, ---","Used by people who ignorantly mean to say regardless. "],
["its, it's","Used by people who ignorantly mean to say regardless. "],
["then, than","Used by people who ignorantly mean to say regardless. "],
["bated, baited","Used by people who ignorantly mean to say regardless. "],
["accidently, accidentally","Used by people who ignorantly mean to say regardless. "],
["rack, wrack","Used by people who ignorantly mean to say regardless. "],
["into, in to","Used by people who ignorantly mean to say regardless. "],
["literally","Used by people who ignorantly mean to say regardless. "],
["edition, addition","Used by people who ignorantly mean to say regardless. "],
["360-degree turn","Used by people who ignorantly mean to say regardless. "],
["hone, home","Used by people who ignorantly mean to say regardless. "],
["mute, moot","Used by people who ignorantly mean to say regardless. "],
["center around","Used by people who ignorantly mean to say regardless. "],
["penultimate, ultimate","Used by people who ignorantly mean to say regardless. "],
["flush it out, flesh it out","Used by people who ignorantly mean to say regardless. "],
["could of, would of, should of","Used by people who ignorantly mean to say regardless. "],
["that, who","Used by people who ignorantly mean to say regardless. "],
["orientate, orient","Used by people who ignorantly mean to say regardless. "],
["toward, towards","Used by people who ignorantly mean to say regardless. "],
["physical, fiscal","Used by people who ignorantly mean to say regardless. "],
["affect, effect","Used by people who ignorantly mean to say regardless. "],
["to, two, too","Used by people who ignorantly mean to say regardless. "],
["your, you're","Used by people who ignorantly mean to say regardless. "],
["there, their, they're","Used by people who ignorantly mean to say regardless. "],
["loose, lose","Used by people who ignorantly mean to say regardless. "],
["could of, would of, should of","Used by people who ignorantly mean to say regardless. "],
["complement, compliment","Used by people who ignorantly mean to say regardless. "],
["fewer, less","Used by people who ignorantly mean to say regardless. "],
["historic, historical","Used by people who ignorantly mean to say regardless. "],
["principal, principle","Used by people who ignorantly mean to say regardless. "],
["unique","Used by people who ignorantly mean to say regardless. "],
["lay, lie","Used by people who ignorantly mean to say regardless. "],
["advice, advertising, food, information, knowledge, education, money, traffic, shopping, travel, entertainment, happiness, literature, work, research","Is your verb singular?"],
["on the one hand, on the other hand, however, for example, nevertheless, firstly, secondly, in conclusion, in summary","Do you have a comma after this phrase?"],
["at, about, with, in, between, of","Do you have an adverb or noun preceding this preposition?"],
["cannot, can't, can not","Which one is right?"],
["do not, don't","Which one is right?"],
["I will, I'll","Which one is right?"],
["though, through","Which one is right?"],
["or, nor","Which one is right?"],
["if, whether","Which one is right?"]
["on the one hand, on the other hand, however, for example, nevertheless, firstly, secondly, in conclusion, in summary","Used by people who ignorantly mean to say regardless. "],
["at, about, with, in, between, of","Used by people who ignorantly mean to say regardless. "],
["cannot, can't, can not","Used by people who ignorantly mean to say regardless. "],
["do not, don't","Used by people who ignorantly mean to say regardless. "],
["I will, I'll","Used by people who ignorantly mean to say regardless. "],
["though, through","Used by people who ignorantly mean to say regardless. "],
["or, nor","Used by people who ignorantly mean to say regardless. "],
["if, whether","Used by people who ignorantly mean to say regardless. "]
]
36 changes: 24 additions & 12 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@
<title>ProseMirror Widgets Examples</title>
<script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
<script src="//handsontable.com/dist/handsontable.full.js"></script>
<script src="amcharts/amcharts.js"></script>
<script src="amcharts/serial.js"></script>
<script src="amcharts/gantt.js"></script>
<script src="amcharts/pie.js"></script>
<script src="amcharts/funnel.js"></script>
<script src="amcharts/gauge.js"></script>
<script src="amcharts/radar.js"></script>
<script src="amcharts/xy.js"></script>
<script src="ammap/ammap_amcharts_extension.js"></script>
<script src="amcharts/plugins/dataloader/dataloader.js"></script>
<link rel="stylesheet" media="screen" href="//handsontable.com/dist/handsontable.full.css">
<style>
body {
Expand All @@ -12,15 +22,17 @@
}
</style>
<h4>ProseMirror Widget Examples</h4>
<p>This editor demonstrates customizations which can be added to the ProseMirror editor involving<br/>
widgets, pulldown menus, parameter handling and validation. <br/>
Insert a widget and adjust its settings. Hover and click on the settings icon to modify.<br/>
<p>This editor demonstrates customizations which can be added to the ProseMirror editor including <br/>
widgets, pulldown menus and modal parameter handling and validation. <br/>
Insert a widget and adjust its settings. Hover and click on the edit icon to modify (in most cases).<br/>
Here is an example http://www.iastate.edu
</p>

<div id="editor"></div>


<h5>Content Widgets</h5>
The following widgets can be inserted within text or as a separate block of text.
<p>The following widgets can be inserted within text or as a separate block of text.</p>
<ul>
<li><strong>Image:</strong> Enter <strong>img.png</strong> for a test image.
<li><strong>CarryForward</strong> displays previous student answers</li>
Expand All @@ -33,21 +45,21 @@ <h5>Content Widgets</h5>
</strong>
</li>
<li><strong>Spreadsheet</strong> uses Handsontable for integration.</li>
<li><strong>Website</strong> embeds websites, youTube, GoogleMaps etc. using an IFrame.</li>
<li><strong>Graph/Map</strong> displays graphs and maps using amCharts. Sample json graphs and maps are supplied.</li>
<li><strong>Website</strong> embeds websites, youTube, GoogleMaps...</li>
</ul>
<h5>Question Widgets</h5>
<p>Create a survey by insert one or more question widgets below:
<h5>Answer Widgets</h5>
<p>A Survey consists of survey questions. Each question includes regular text (possibly including content widgets) followed by one of the following answer widgets:
<ul>
<li><strong>Short Answer, Essay, Scale and Selection</strong></li>
<li><strong>MultipleChoice, CheckList. Entering answers works like a bulleted list.</strong></li>.
<li><strong>Short Answer, Essay, Checkbox and Select Dropdown</strong></li>
<li><strong>Choice List (multiple choice), Check List and Scale</strong></li>.
</ul>

<p><a href="https://github.com/pboysen/prosemirror-widgets.git">Source</a></p>
<p><a href="mailto: [email protected]">Pete Boysen</a></p>

<div id="content" style="visibility:hidden">
<p>Some beginning text...</p>
</div>

<script src="widgets-built-min.js"></script>
<div>Icon made by <a href="http://www.freepik.com" title="Freepik">Freepik</a> from <a href="http://www.flaticon.com" title="Flaticon">www.flaticon.com</a> is licensed under <a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0">CC BY 3.0</a></div>
<div>Icons made by <a href="http://www.flaticon.com/authors/budi-tanrim" title="Budi Tanrim">Budi Tanrim</a> from <a href="http://www.flaticon.com" title="Flaticon">www.flaticon.com</a> is licensed by <a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0">CC BY 3.0</a></div>
<script src="widgets-built.js"></script>

0 comments on commit b171ec5

Please sign in to comment.