From ebb642a83e8a11c6b343ae55188aa13c0343c64d Mon Sep 17 00:00:00 2001 From: Yishi Date: Sun, 24 Sep 2023 20:39:37 +0800 Subject: [PATCH 1/2] Update src/README.md to add file explanation --- src/README.md | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/src/README.md b/src/README.md index 1c98af273..c6d56ce30 100644 --- a/src/README.md +++ b/src/README.md @@ -1,4 +1,4 @@ -# Source code +# Source Code ## Dictionary @@ -16,3 +16,31 @@ * DictGroup: A wrap of a group of dictionaries. Iterates one by one until a match. ## Conversion + +## Main Files + + +## CPP Files + +- Lexicon: Storage of all entries +- BinaryDict: Binary dictionary for faster deserialization +- CmdLineOutput: Output command line usage +- Common: Common definitions +- Config: Configuration loader +- Conversation: Conversion interface +- Converter: Controller of segmentation and conversion +- DartsDict: Darts dictionary +- Dict: Abstract class of dictionary +- DictConverter: Converts a dictionary from a format to another. +- DictEntry: Key-values pair entry +- DictGroup: Group of dictionaries +- Exception: Exceptions +- MarisaDict: Marisa dictionary. +- MaxMatchSegmentation: Implementation of maximal match segmentation +- Segmentation: Abstract segmentation +- Segments: Segmented text +- SerializableDict: Serializable dictionary interface +- SerializedValues: Binary format for dictionary values serialization. +- SimpleConverter: A high level converter +- TextDict: Text dictionary +- UTF8Util: UTF8 std::string utilities From 5a6e105615494d7b95ce82f84cb4a358c7ae2c23 Mon Sep 17 00:00:00 2001 From: Yishi Date: Sun, 24 Sep 2023 20:41:03 +0800 Subject: [PATCH 2/2] Update README.md file Remove `CPP Files` in the file. --- src/README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/README.md b/src/README.md index c6d56ce30..d92a466e3 100644 --- a/src/README.md +++ b/src/README.md @@ -19,9 +19,6 @@ ## Main Files - -## CPP Files - - Lexicon: Storage of all entries - BinaryDict: Binary dictionary for faster deserialization - CmdLineOutput: Output command line usage