We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ae3d1cc + 33dfdb0 commit 395e72eCopy full SHA for 395e72e
Cargo.toml
@@ -1,6 +1,6 @@
1
[package]
2
name = "oscar-io"
3
-version = "0.2.3"
+version = "0.3.0"
4
edition = "2021"
5
description = "Readers/Writers for OSCAR Corpora."
6
documentation = "https://docs.rs/oscar-io"
src/v3/types/document.rs
@@ -92,6 +92,13 @@ impl Metadata {
92
pub fn set_tlsh(&mut self, tlsh: Option<String>) {
93
self.tlsh = tlsh;
94
}
95
+
96
+ pub fn set_sentence_identifications(
97
+ &mut self,
98
+ sentence_identifications: Vec<Option<Identification>>,
99
+ ) {
100
+ self.sentence_identifications = sentence_identifications;
101
+ }
102
103
104
impl Default for Metadata {
0 commit comments