actually use filename from config
All checks were successful
CI/CD Pipeline / test (push) Successful in 1m55s
All checks were successful
CI/CD Pipeline / test (push) Successful in 1m55s
This commit is contained in:
@ -166,15 +166,15 @@ impl PartialEq for LawBuilder {
|
||||
|
||||
impl Default for LawBuilder {
|
||||
fn default() -> Self {
|
||||
Self::new()
|
||||
Self::new("".into())
|
||||
}
|
||||
}
|
||||
|
||||
impl LawBuilder {
|
||||
/// Creates a new law builder. Adds classifier for known law texts.
|
||||
pub fn new() -> Self {
|
||||
pub fn new(name: String) -> Self {
|
||||
Self {
|
||||
name: "".into(),
|
||||
name,
|
||||
classifiers: Vec::new(),
|
||||
header: Vec::new(),
|
||||
next_para_header: None,
|
||||
|
Reference in New Issue
Block a user