Make the project be a workspace

This commit is contained in:
Clément Renault
2019-10-04 10:26:32 +02:00
parent 3476939b7e
commit 62a0aefe44
40 changed files with 49 additions and 42 deletions

View File

@ -0,0 +1,23 @@
#[derive(Copy, Clone)]
pub struct Synonyms {
pub(crate) synonyms: rkv::SingleStore,
}
impl Synonyms {
pub fn synonyms_fst(
&self,
reader: &impl rkv::Readable,
) -> Result<fst::Set, rkv::StoreError>
{
Ok(fst::Set::default())
}
pub fn alternatives_to(
&self,
reader: &impl rkv::Readable,
word: &[u8],
) -> Result<Option<fst::Set>, rkv::StoreError>
{
unimplemented!()
}
}