-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
107 additions
and
246 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
use crate::{Dictionary, DictionaryConfig, LinderaResult}; | ||
|
||
pub fn load_dictionary(dictionary_config: DictionaryConfig) -> LinderaResult<Dictionary> { | ||
lindera::dictionary::load_dictionary(dictionary_config) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
pub mod mode; | ||
pub mod dictionary; | ||
pub mod stream; | ||
pub mod tokenizer; | ||
|
||
use lindera::LinderaResult as LLinderaResult; | ||
|
||
pub type LinderaResult<T> = LLinderaResult<T>; | ||
pub type LinderaResult<T> = lindera::LinderaResult<T>; | ||
pub type Penalty = lindera::mode::Penalty; | ||
pub type Mode = lindera::mode::Mode; | ||
pub type DictionaryConfig = lindera::dictionary::DictionaryConfig; | ||
pub type UserDictionryConfig = lindera::dictionary::UserDictionaryConfig; | ||
pub type DictionaryKind = lindera::DictionaryKind; | ||
pub type Dictionary = lindera::Dictionary; | ||
pub type UserDictionary = lindera::UserDictionary; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.