Skip to content

Commit

Permalink
Update 404 fixes (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
agsfer committed May 4, 2023
1 parent 8c0daee commit 43f3df0
Show file tree
Hide file tree
Showing 43 changed files with 180 additions and 1,688 deletions.
3 changes: 0 additions & 3 deletions docs/_includes/demomenu.html
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,6 @@
<li {% if _section.secheader %} {% for child in _section.secheader %} {% if child.activemenu == "financial_deidentification" %} class="active" {% endif %} {% endfor %} {% endif %} >
<a href="/financial_deidentification">Financial Deidentification</a>
</li>
<li data-hide="hide" {% if _section.secheader %} {% for child in _section.secheader %} {% if child.activemenu == "financial_table_understanding" %} class="active" {% endif %} {% endfor %} {% endif %} >
<a href="/financial_table_understanding">Understand Tables</a>
</li>
<li data-hide="hide" {% if _section.secheader %} {% for child in _section.secheader %} {% if child.activemenu == "financial_visual_document_classification" %} class="active" {% endif %} {% endfor %} {% endif %} >
<a href="/financial_visual_document_classification">Financial Visual Document Classification</a>
</li>
Expand Down
4 changes: 2 additions & 2 deletions docs/_includes/docs-annotation-pagination.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<ul class="pagination">
<li>
<a href="release_notes_">Version <strong id="previosver"></strong></a>
<a href="#">Version <strong id="previosver"></strong></a>
</li>
<li>
<strong>Version <strong id="currversion"></strong></strong>
</li>
<li>
<a href="release_notes_">Version <strong id="nextver"></strong></a>
<a href="#">Version <strong id="nextver"></strong></a>
</li>
</ul>
<ul class="pagination owl-carousel pagination_big">
Expand Down
4 changes: 2 additions & 2 deletions docs/_includes/scripts/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,13 @@ try {
currentVersionContainer.textContent = itemTitle;
if(item.previousElementSibling) {
previosVersionContainer.textContent = item.previousElementSibling.innerText;
previosVersionContainer.parentElement.href += item.previousElementSibling.innerText.replaceAll('.', '_');
previosVersionContainer.parentElement.href = 'release_notes_' + item.previousElementSibling.innerText.replaceAll('.', '_');
} else {
previosVersionContainer.parentElement.parentElement.classList.add('hide');
}
if(item.nextElementSibling) {
nextVersionContainer.textContent = item.nextElementSibling.innerText;
nextVersionContainer.parentElement.href += item.nextElementSibling.innerText.replaceAll('.', '_');
nextVersionContainer.parentElement.href = 'release_notes_' + item.nextElementSibling.innerText.replaceAll('.', '_');
} else {
nextVersionContainer.parentElement.parentElement.classList.add('hide');
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ val results.withColumn("filename", path_array.getItem(f.size(path_array)- 1))
## Example

{%- capture input_image -%}
![Screenshot](/assets/images/examples_ocr/image10.jpg)
![Screenshot](/assets/images/examples_ocr/image10.png)
{%- endcapture -%}

{%- capture output_image -%}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,497 changes: 0 additions & 1,497 deletions docs/demo.md

This file was deleted.

4 changes: 2 additions & 2 deletions docs/en/alab/annotation_labs_releases/release_notes_2_8_0.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ New features offered by Annotation Lab:
- [Simplified workflow](/docs/en/alab/annotation#simplified-workflow) are now supported for simpler projects. Furthermore, overall work progress has been added on the Labeling Page.
- [Infrastucture](/docs/en/alab/infrastructure) used for preannotation and training can now be configured from the Annotation Lab UI.
- Support for [training German and Spanish models](/docs/en/alab/active_learning#train-german-and-spanish-models).
- Some [changes in Analytics Dashboard](/docs/en/alab/analytics#disabled-analytics) were implemented. By default, the Analytics dashboard page is now disabled. Users can request Admin to enable the Analytics page. The refresh of the charts is done manually.
- Some changes in Analytics Dashboard were implemented. By default, the Analytics dashboard page is now disabled. Users can request Admin to enable the Analytics page. The refresh of the charts is done manually.
- [Import & Export Rules](/docs/en/alab/models_hub#import-and-export-rules) from the Model Hub page.
- [Download model dependencies](/docs/en/alab/models_hub#download-of-model-dependencies) is now automatic.
- The [project configuration box](/docs/en/alab/settings#project-configuration-box) can now be edited in full screen mode.
- The project configuration box can now be edited in full screen mode.
- [Trim leading and ending spaces in annotated chunks](/docs/en/alab/annotation#trim-leading-and-ending-spaces-in-annotated-chunks).
- [Reserved words](/docs/en/alab/project_setup#reserved-words-cannot-be-used-in-project-names) cannot be used in project names.
- Task numbering now start from 1.
Expand Down
11 changes: 2 additions & 9 deletions docs/en/alab/playground.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,12 @@ sidebar:
nav: annotation-lab
---

<style>
es {
font-weight:400;
font-style: italic;
}
</style>

The Playground feature of the NLP Lab allows users to deploy and test models, rules, and/or prompts without going through the project setup wizard. This simplifies the initial resources exploration, and facilitates experiments on custom data. Any model, rule, or prompt can now be selected and deployed for testing by clicking on the "Open in Playground" button.


## Experiment with Rules

Rules can be deployed to the Playground from the rules page. When a particular rule is deployed in the playground, the user can also change the parameters of the rules via the rule definition form from the right side of the page. After saving the changes users need to click on the "Deploy" button to refresh the results of the pre-annotation on the provided text.
Rules can be deployed to the Playground from the rules page. When a particular rule is deployed in the playground, the user can also change the parameters of the rules via the rule definition form from the right side of the page. After saving the changes users need to click on the "Deploy" button to refresh the results of the pre-annotation on the provided text.

![ruledeploy](https://user-images.githubusercontent.com/33893292/209978724-355fd3a2-aab4-4c38-869d-4f3432c657d3.gif)

Expand Down Expand Up @@ -56,7 +49,7 @@ This feature enables users to check how their resources (models, rules and promp
Another benefit of experimenting with NLP prompts and rules in the playground is the immediate feedback that you receive. When you make changes to the parameters of your rules or to the questions in your prompts, the updates are deployed instantly. Manually deploying the server is not necessary any more for changes made to Rules/Prompts to be reflected in the preannotation results. Once the changes are saved, by simply clicking on the Test button, updated results are presented.
This allows you to experiment with a range of variables and see how each one affects the correctness and completeness of the results. The real-time feedback and immediate deployment of changes in the playground make it a powerful tool for pushing the boundaries of what is possible with language processing.

<img class="image image__shadow" src="/assets/images/annotation_lab/4.7.1/automatic_deployment.gif" style="width:100%;"/>
<img class="image image__shadow" src="/assets/images/annotation_lab/4.7.1/219060474-0c6fc8ab-f946-4ea5-886c-659f357b7f7d.gif" style="width:100%;"/>

## Playground Server Destroyed after 5 Minutes of Inactivity

Expand Down
2 changes: 1 addition & 1 deletion docs/en/alab/productivity.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ es {

## Analytics Charts

By default, the Analytics page is disabled for every project because computing the analytical charts is a resource-intensive task and might temporarily influence the responsiveness of the application, especially when triggered in parallel with other training/preannotation jobs. However, users can file a request to enable the Analytics page which can be approved by any [admin user](docs/en/alab/user_management#user-groups). The request is published on the [Analytics Requests](/docs/en/alab/analytics_permission) page, visible to any <es>admin</es> user. Once the <es>admin</es> user approves the request, any team member can access the Analytics page.
By default, the Analytics page is disabled for every project because computing the analytical charts is a resource-intensive task and might temporarily influence the responsiveness of the application, especially when triggered in parallel with other training/preannotation jobs. However, users can file a request to enable the Analytics page which can be approved by any [admin user](/docs/en/alab/user_management#user-groups). The request is published on the [Analytics Requests](/docs/en/alab/analytics_permission) page, visible to any <es>admin</es> user. Once the <es>admin</es> user approves the request, any team member can access the Analytics page.

<img class="image image__shadow" src="/assets/images/annotation_lab/4.1.0/analytics/enable_analytics.gif" style="width:100%;"/>

Expand Down
2 changes: 1 addition & 1 deletion docs/en/alab/training_configurations.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ A **Project Owner** or a **Manager** can use the completed tasks (completions) f
## Deploy a new training job

Users can perform multiple training jobs at the same time, depending on the available resources/license(s). Users can opt to create new training jobs independently from already running training/pre-annotation/OCR jobs. If resources/licenses are available when pressing the `Train Model` button a new training server is launched.
The running servers can be seen by visiting the [Clusters](docs/en/alab/cluster_management) page.
The running servers can be seen by visiting the [Clusters](/docs/en/alab/cluster_management) page.

<img class="image image__shadow" src="/assets/images/annotation_lab/4.2.0/clusters.png" style="width:100%;"/>

Expand Down
4 changes: 2 additions & 2 deletions docs/en/alab/transfer_learning.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ sidebar:
nav: annotation-lab
---

Annotation Lab supports the Transfer Learning feature offered by [Spark NLP for Healthcare 3.1.2](https://nlp.johnsnowlabs.com/docs/en/licensed_release_notes#support-for-fine-tuning-of-ner-models).
Annotation Lab supports the Transfer Learning feature offered by [Spark NLP for Healthcare 3.1.2](https://nlp.johnsnowlabs.com/docs/en/spark_nlp_healthcare_versions/release_notes_3_1_2#support-for-fine-tuning-of-ner-models).
This feature is available for project manages and project owners, but only if a valid Healthcare NLP license is loaded into the Annotation Lab.

In this case, the feature can be activated for any project by navigating to the Train page. It requires the presence of a `base model` trained with [MedicalNERModel](https://nlp.johnsnowlabs.com/docs/en/licensed_release_notes#1-medicalnermodel-annotator).
In this case, the feature can be activated for any project by navigating to the Train page. It requires the presence of a `base model` trained with [MedicalNERModel](https://nlp.johnsnowlabs.com/docs/en/spark_nlp_healthcare_versions/release_notes_3_0_0#medicalnermodel-annotator).

If a MedicalNER model is available on the Models Hub section of the Annotation Lab, it can be chosen as a starting point of the training process. This means the `base model` will be Fine Tuned with the new training data.

Expand Down
2 changes: 1 addition & 1 deletion docs/en/best_practices_pretrained_models.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ For instance, `sbiobertresolve_hcc_augmented` resolver model must be used with `
<td style="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000"><br></td>
</tr>
<tr>
<td style="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 2px solid #000000; border-right: 1px solid #000000" height="65"><a href="https://nlp.johnsnowlabs.com/2021/11/09/sbiobertresolve_rxnorm_augmented_en.html">sbiobertresolve_rxnorm_augmented</a></td>
<td style="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 2px solid #000000; border-right: 1px solid #000000" height="65"><a href="https://nlp.johnsnowlabs.com/2022/01/03/sbiobertresolve_rxnorm_augmented_en.html">sbiobertresolve_rxnorm_augmented</a></td>
<td style="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000">sbiobert_base_cased_mli</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000">ner_posology</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000">DRUG</td>
Expand Down
2 changes: 1 addition & 1 deletion docs/en/financial_version_compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Please find technical documentation about how to install it [here](https://nlp.j

All our models are backwards compatible, which means it will be safe for you to always use the last version of `johnsnowlabs`.

If you are curious about which version of Spark NLP, Visual NLP or Clinical NLP are included in the last `johnsnowlabs` versions, please check [here](https://nlp.johnsnowlabs.com/docs/en/jsl-release-notes)
If you are curious about which version of Spark NLP, Visual NLP or Clinical NLP are included in the last `johnsnowlabs` versions, please check [here](https://nlp.johnsnowlabs.com/docs/en/jsl/jsl-release-notes)

Finance NLP is also supported in Annotation Lab from Alab 4.2.3 version on!

Expand Down
2 changes: 1 addition & 1 deletion docs/en/jsl/NLU_under_the_hood.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: docs
header: true
seotitle: NLU | John Snow Labs
seotitle: NLP | John Snow Labs
title: NLU under the hood
key: docs-examples
permalink: /docs/en/jsl/under_the_hood
Expand Down
2 changes: 1 addition & 1 deletion docs/en/jsl/concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ OUTPUT:


### Custom Pipes
Alternatively you can compose [Annotators](https://nlp.johnsnowlabs.com/docs/en/jsl/annotators) into a pipeline which offers the highest degree of customization
Alternatively you can compose [Annotators](https://nlp.johnsnowlabs.com/docs/en/annotators) into a pipeline which offers the highest degree of customization
```python
from johnsnowlabs import nlp
spark = nlp.start(nlp=False)
Expand Down
4 changes: 2 additions & 2 deletions docs/en/jsl/examples.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
layout: docs
header: true
seotitle: NLU | John Snow Labs
seotitle: NLP | John Snow Labs
title: 1-liners reference
key: docs-examples
permalink: /docs/en/jsl/examples
modify_date: "2023-03-27"
show_nav: true
sidebar:
nav: jsl
nav: jsl
---

<div class="main-docs" markdown="1"><div class="h3-box" markdown="1">
Expand Down
4 changes: 2 additions & 2 deletions docs/en/jsl/examples_healthcare.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
layout: docs
header: true
seotitle: NLU | John Snow Labs
seotitle: NLP | John Snow Labs
title: Examples
key: docs-examples-hc
permalink: /docs/en/jsl/examples_hc
modify_date: "2023-03-27"
show_nav: true
sidebar:
nav: jsl
nav: jsl
---
<div class="main-docs" markdown="1"><div class="h3-box" markdown="1">

Expand Down
2 changes: 1 addition & 1 deletion docs/en/jsl/install.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: docs
seotitle: NLU | John Snow Labs
seotitle: NLP | John Snow Labs
title: Installation
permalink: /docs/en/jsl/install
key: docs-install
Expand Down
12 changes: 6 additions & 6 deletions docs/en/jsl/install_advanced.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: docs
seotitle: NLU | John Snow Labs
seotitle: NLP | John Snow Labs
title: Installation
permalink: /docs/en/jsl/install_advanced
key: docs-install
Expand All @@ -19,8 +19,8 @@ To install the johnsnowlabs Python library and all of John Snow Labs open **sour
pip install johnsnowlabs
```

This installs [Spark-NLP](https://nlp.johnsnowlabs.com/docs/en/jsl/quickstart), [NLU](https://nlp.johnsnowlabs.com/)
, [Spark-NLP-Display](https://nlp.johnsnowlabs.com/docs/en/jsl/display)
This installs [Spark-NLP](https://nlp.johnsnowlabs.com/docs/en/quickstart), [NLU](https://nlp.johnsnowlabs.com/)
, [Spark-NLP-Display](https://nlp.johnsnowlabs.com/docs/en/display)
, [Pyspark](https://spark.apache.org/docs/latest/api/python/) and other open
source [sub-dependencies](https://github.com/JohnSnowLabs/johnsnowlabs/blob/main/setup.py).

Expand All @@ -35,8 +35,8 @@ from johnsnowlabs import *
nlp.load('emotion').predict('Wow that easy!')
```
The quickest way to get access to **licensed libraries** like
[Finance NLP, Legal NLP, Healthcare NLP](https://nlp.johnsnowlabs.com/docs/en/jsl/licensed_install) or
[Visual NLP](https://nlp.johnsnowlabs.com/docs/en/jsl/ocr) is to run the following in python:
[Finance NLP, Legal NLP, Healthcare NLP](https://nlp.johnsnowlabs.com/docs/en/licensed_install) or
[Visual NLP](https://nlp.johnsnowlabs.com/docs/en/ocr) is to run the following in python:
```python
from johnsnowlabs import *
nlp.install()
Expand Down Expand Up @@ -497,7 +497,7 @@ Join our channel, to ask for help and share your feedback. Developers and users
## Where to go next

If you want to get your hands dirty with any of the features check out the [NLU examples page](examples),
or [Licensed Annotators Overview](https://nlp.johnsnowlabs.com/docs/en/jsl/licensed_annotators)
or [Licensed Annotators Overview](https://nlp.johnsnowlabs.com/docs/en/licensed_annotators)
Detailed information about Johnsnowlabs Libraries APIs, concepts, components and more can be found on the following pages :

{:.list4}
Expand Down
2 changes: 1 addition & 1 deletion docs/en/jsl/install_licensed_quick.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: docs
seotitle: NLU | John Snow Labs
seotitle: NLP | John Snow Labs
title: Installation
permalink: /docs/en/jsl/install_licensed_quick
key: docs-install
Expand Down
2 changes: 1 addition & 1 deletion docs/en/jsl/jsl_home.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: docs
seotitle: NLU | John Snow Labs
seotitle: NLP | John Snow Labs
title: John Snow Labs Configurations
permalink: /docs/en/jsl/john-snow-labs-home
key: docs-install
Expand Down
Loading

0 comments on commit 43f3df0

Please sign in to comment.