Skip to content

Commit

Permalink
add demo section and add search and NLP demos
Browse files Browse the repository at this point in the history
  • Loading branch information
smassung committed Mar 20, 2016
1 parent f9fa7bd commit 5754da0
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 1 deletion.
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ forumurl: 'https://forum.meta-toolkit.org'

# Default categories (in order) to appear in the navigation
sections: [
['demo', 'Demos'],
['tut', 'Tutorials']
]

Expand Down
2 changes: 1 addition & 1 deletion _layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
---

<div class=page-header>
<h2>{{ page.title }}
<h2>{% if page.category == 'demo' %}Demo: {% endif %}{{ page.title }}
{% if page.subtitle %}<small>{{ page.subtitle }}</small>{% endif %}
</h2>
</div>
Expand Down
6 changes: 6 additions & 0 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ code {
color: inherit;
}

img {
display: block;
margin-left: auto;
margin-right: auto;
}

/* see:
* http://stackoverflow.com/questions/18329010/what-happened-to-nav-header-class
*/
Expand Down
24 changes: 24 additions & 0 deletions nlp-demo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: Natural Language Processing
layout: page
category: demo
order: 2
---

The MeTA NLP demo is currently located at
[http://timan103.cs.illinois.edu/nlp-demo/](http://timan103.cs.illinois.edu/nlp-demo/).

This demo first segments sentences with the ICU tokenizer. Then, it runs
part-of-speech tagging and a grammatical parser. It displays these outputs for
each sentence.

The demo code can be found [online on
GitHub](https://github.com/meta-toolkit/nlp-demo) in the [MeTA toolkit
organization](https://github.com/meta-toolkit). It makes use of a very simple
[HTTP server](https://github.com/meta-toolkit/simple-http-server) to connect the
back end to the front end.

Below is the output of running the demo with the input text "Here's a short
sentence. This is part of the demo."

![NLP demo](nlp-demo.png)
Binary file added nlp-demo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions search-demo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: Search Engine and Rankers
layout: page
category: demo
order: 1
---

The MeTA search and ranking demo is currently located at
[http://timan103.cs.illinois.edu/search-app/](http://timan103.cs.illinois.edu/search-app/).

The search engine is over Wikipedia articles with article titles as metadata.
Selecting a ranker from the dropdown on the left of the search bar changes the
ranking function that is used to score each document. The numbers to the right
of each document are the score that the ranker has given it. Clicking on a link
will open the respective Wikipedia article.

The demo code can be found [online on
GitHub](https://github.com/meta-toolkit/search-app) in the [MeTA toolkit
organization](https://github.com/meta-toolkit). It makes use of a very simple
[HTTP server](https://github.com/meta-toolkit/simple-http-server) to connect the
back end to the front end.

![Search demo](search-demo.png)
Binary file added search-demo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5754da0

Please sign in to comment.