homoglyph-driver 0.1.0

homoglyph-driver for homoglyph-service
Documentation
1
2
3
4
5
6
7
8
9
10
use homoglyph_core::{domain::SentenceDomain, sentence::EncodedSentence};

pub mod tantivy;
pub trait SearchEngine {
    fn init() -> Self;
    fn index(&mut self);
    fn query(&mut self, sentence_enc: EncodedSentence);
    fn new() -> Self;
    fn search(&mut self) -> SentenceDomain;
}