default |
-
- Default index to use for out of vocabulary elements
+ Default index to use for out of vocabulary elements
Defaults to -100
-
TYPE:
int
- DEFAULT:
+ DEFAULT:
-100
@@ -2454,62 +2462,54 @@ Vocabulary
Functions
-
-
- initialization
+initialization
- Enters the initialization mode.
+ Enters the initialization mode.
Out of vocabulary elements will be assigned an index.
-
-
- encode
+encode
- Converts an element into its vocabulary index
+ Converts an element into its vocabulary index
If the layer is in its initialization mode (with vocab.initialization(): ... ),
and the element is out of vocabulary, a new index will be created and returned.
Otherwise, any oov element will be encoded with the default index.
-
-
PARAMETER |
- DESCRIPTION |
+ DESCRIPTION |
item |
-
-
-
+
|
@@ -2546,38 +2546,32 @@
-
-
- decode
+decode
- Converts an index into its original value
-
-
+ Converts an index into its original value
PARAMETER |
- DESCRIPTION |
+ DESCRIPTION |
idx |
-
-
-
+
|
@@ -2618,7 +2612,7 @@
-
+
diff --git a/latest/pipeline/index.html b/latest/pipeline/index.html
index d01afbd1..174a7bf5 100644
--- a/latest/pipeline/index.html
+++ b/latest/pipeline/index.html
@@ -1239,8 +1239,6 @@
-
-
@@ -1249,6 +1247,8 @@
+
+
@@ -1360,38 +1360,8 @@
-
- structures
-
-
-
-
-
-
-
-
-
-
-
-
-
- trainable_pipe
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- registry
+
+ pipeline
@@ -1409,15 +1379,13 @@
-
+
-
-
@@ -1427,25 +1395,23 @@
-
-
- |