scallion 0.1.0-rc.1

Library for identification of license texts based on the SPDX license list
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! scallion is a crate that is Quite Good at detecting licenses from text.
//!
//! To get started, have a look at the `Store` struct, or one of the examples
//! in the `examples` directory.

mod data;
mod error;
mod ngram;
mod preproc;
mod scan;
mod store;

pub use crate::data::{LicenseType, MatchData, NoData, TextData};
pub use crate::error::Error;
pub use crate::scan::{ContainedResult, IdentifiedLicense, ScanMode, ScanResult, ScanStrategy};
pub use crate::store::{CompressionFormat, LicenseEntry, Match, Store};