Skip to content

Commit 79bcb4a

Browse files
Update NLP readme file
1 parent 39303a4 commit 79bcb4a

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

jsapp/js/components/processing/README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,11 @@ being used for adding translations, too.
5050

5151
Example: A user saves their "Polish" transcript.
5252

53-
1. We check if `transcript` in `advanced_features` for given `asset` has
54-
"Polish" language enabled.
55-
2. If "Polish" is not enabled, we make a call to update the schema to include
56-
this language under `transcript`.
57-
3. Finally, we make a call (to the unique feature endpoint) to save the
58-
transcript text.
53+
1. We check if `asset` has `advanced_features` enabled (by default it's not enabled).
54+
2. If there are no `advanced_features`, we make a call to enable it.
55+
3. We check if `transcript` in `advanced_features` for given `asset` has "Polish" language enabled.
56+
4. If "Polish" is not enabled, we make a call to update the schema to include this language under `transcript`.
57+
5. Finally, we make a call (to the unique feature endpoint - `advanced_submission_post`) to save the transcript text.
5958

6059
Thankfully, whenever we delete a transcript, the Back end is automagically cleaning
6160
up unreferenced languages for us. So if user deletes that "Polish" transcript

0 commit comments

Comments
 (0)