Skip to content

Spelling #55

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

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/wink-nlp/language-models.html.markdown.erb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ WinkNLP comes with pre-trained language models with gzipped sizes starting from

<tr>
<td><b>Usage</b></td>
<td>Broswer and Node.js both. Recommended for Node.js version 16 and 18.</td>
<td>Browser and Node.js both. Recommended for Node.js version 16 and 18.</td>
</tr>

<tr>
Expand Down
4 changes: 2 additions & 2 deletions source/wink-nlp/wink-nlp-in-browsers.html.markdown.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ title: WinkNLP in browsers?
WinkNLP is designed to work on Node.js and web browsers both. Apart from building a server side solution using Node.js, you can build a pure browser side NLP app with equal ease. To do this, we need to use the web version of the English lite model — [wink-eng-lite-web-model](https://www.npmjs.com/package/wink-eng-lite-web-model). We'll also need a tool that can bundle all the required modules, something like [Webpack](https://webpack.js.org/) or [Browserify](http://browserify.org/). For the purpose of this tutorial we'll use Browserify. First, lets install the required packages:

<div class="docs-tip docs-tip--yellow">
We'll be installing Broswerify globally, refer to its <a href="https://github.com/browserify/browserify#getting-started">documentation</a> for more details.
We'll be installing Browserify globally, refer to its <a href="https://github.com/browserify/browserify#getting-started">documentation</a> for more details.
</div>

<pre class="prettyprint source"><code>npm install wink-nlp --save
Expand All @@ -29,7 +29,7 @@ const doc = nlp.readDoc( text );
doc.entities().each((e) => e.markup());
document.getElementById("result").innerHTML = doc.out(its.markedUpText);</code></pre>

Now, we'll use Broswerify to bundle all the required modules into a single file:
Now, we'll use Browserify to bundle all the required modules into a single file:

<pre class="prettyprint source"><code>browserify token-counter.js -o bundle.js</code></pre>

Expand Down