Skip to content

Commit

Permalink
[Weak Supervision Guide] Fix links (#941)
Browse files Browse the repository at this point in the history
* fix links

* fix special characters typo
  • Loading branch information
David Fidalgo committed Jan 12, 2022
1 parent fb67c58 commit b7526c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/guides/weak-supervision.ipynb
Expand Up @@ -26,14 +26,14 @@
"\n",
"- Log an unlabelled dataset into Rubrix\n",
"- Use the `Annotate` mode for hand- and/or bulk-labelling a test set. This test is key to measure the quality and performance of your rules.\n",
"- Use the `Define Rules` mode for testing and defining rules. Rules are defined with search queries (using ES query string DSL).\n",
"- Use the `Define rules` mode for testing and defining rules. Rules are defined with search queries (using ES query string DSL).\n",
"- Use the Python client for reading rules, defining additional rules if needed, and train a label (for building a training set) or a downstream model (for building an end classifier).\n",
"\n",
"The next sections cover the main components of this workflow. If you want to jump into a practical tutorial, check the [news classification tutorial](../tutorials/weak-supervision-with-rubrix.ipynb).\n",
"\n",
"### Weak labeling using the UI\n",
"\n",
"Since version 0.8.0 you can find and define rules directly in the UI. The [`Define rules` mode](../reference/webapp/define_rules.md) is found below the [`Annotate` mode](../reference/webapp/annotate_records.md) on the right sidebar.\n",
"Since version 0.8.0 you can find and define rules directly in the UI. The [Define rules mode](../reference/webapp/define_rules.md) is found below the [Annotate mode](../reference/webapp/annotate_records.md) on the right sidebar.\n",
"\n",
"The video below shows how you can interactively find and save rules with the UI. For more a full example check the Weak supervision tutorial.\n",
"\n",
Expand Down Expand Up @@ -300,7 +300,7 @@
"source": [
"## 2. Defining rules\n",
"\n",
"Let's now define some of the rules proposed in the tutorial [Snorkel Intro Tutorial: Data Labeling](https://www.snorkel.org/use-cases/01-spam-tutorial). Most of these rules can be defined directly in the UI using [Elasticsearch's query string DSL](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html). \n",
"Let's now define some of the rules proposed in the tutorial [Snorkel Intro Tutorial: Data Labeling](https://www.snorkel.org/use-cases/01-spam-tutorial). Most of these rules can be defined directly in the UI using [Elasticsearch's query string DSL](../reference/webapp/search_records.md). \n",
"\n",
"Rules can also be defined programmatically as shown below. Depending on your use case and team structure you can mix and match both interfaces (UI or Python).\n",
"\n",
Expand Down
3 changes: 1 addition & 2 deletions docs/reference/webapp/search_records.md
Expand Up @@ -24,8 +24,7 @@ This component enables:

**NOTE**: Elasticsearch's query DSL supports **escaping special characters** that are part of the query syntax. The current list special characters are:

| ----------- |
| `+ - && || ! ( ) { } [ ] ^ " ~ * ? : \` |
`+ - && || ! ( ) { } [ ] ^ " ~ * ? : \`

To escape these character use the \\ before the character. For example to search for (1+1):2 use the query `\(1\+1\)\:2`.

Expand Down

0 comments on commit b7526c0

Please sign in to comment.