We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b1570c3 + 39adf3c commit ba84fa0Copy full SHA for ba84fa0
2 files changed
README.md
@@ -80,6 +80,9 @@ def file_iterator(fpath):
80
key, value = line.strip().split()
81
yield key, int(value)
82
m = Map.from_iter( file_iterator('/your/input/file/'), '/your/mmapped/output.fst')
83
+
84
+# re-open a file you built previously with from_iter()
85
+m = Map(path='/path/to/existing.fst')
86
```
87
88
docs/index.rst
@@ -89,6 +89,8 @@ Examples
89
90
91
92
+ # re-open a file you built previously with from_iter()
93
+ m = Map(path='/path/to/existing.fst')
94
95
API Reference
96
-------------
0 commit comments