Updates the copyright title and the README file.
This commit is contained in:
parent
4466564e25
commit
bce641608b
|
@ -1,3 +1,26 @@
|
||||||
|
// Copyright (c) 2022 and onwards The McBopomofo Authors.
|
||||||
|
//
|
||||||
|
// Permission is hereby granted, free of charge, to any person
|
||||||
|
// obtaining a copy of this software and associated documentation
|
||||||
|
// files (the "Software"), to deal in the Software without
|
||||||
|
// restriction, including without limitation the rights to use,
|
||||||
|
// copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
// copies of the Software, and to permit persons to whom the
|
||||||
|
// Software is furnished to do so, subject to the following
|
||||||
|
// conditions:
|
||||||
|
//
|
||||||
|
// The above copyright notice and this permission notice shall be
|
||||||
|
// included in all copies or substantial portions of the Software.
|
||||||
|
//
|
||||||
|
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||||
|
// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||||
|
// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||||
|
// OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
#import "LanguageModelManager.h"
|
#import "LanguageModelManager.h"
|
||||||
#import "UserOverrideModel.h"
|
#import "UserOverrideModel.h"
|
||||||
#import "McBopomofoLM.h"
|
#import "McBopomofoLM.h"
|
||||||
|
|
229
Source/README
229
Source/README
|
@ -1,19 +1,13 @@
|
||||||
.
|
.
|
||||||
├── AppDelegate.h
|
├── AppDelegate.swift
|
||||||
├── AppDelegate.m
|
├── Base.lproj
|
||||||
├── CandidateUI
|
│ ├── Credits.rtf
|
||||||
│ ├── VTCandidateController.h
|
│ ├── MainMenu.xib
|
||||||
│ ├── VTCandidateController.m
|
│ ├── preferences.xib
|
||||||
│ ├── VTHorizontalCandidateController.h
|
│ ├── template-data.txt
|
||||||
│ ├── VTHorizontalCandidateController.m
|
│ ├── template-exclude-phrases-plain-bpmf.txt
|
||||||
│ ├── VTHorizontalCandidateView.h
|
│ ├── template-exclude-phrases.txt
|
||||||
│ ├── VTHorizontalCandidateView.m
|
│ └── template-phrases-replacement.txt
|
||||||
│ ├── VTVerticalCandidateController.h
|
|
||||||
│ ├── VTVerticalCandidateController.m
|
|
||||||
│ ├── VTVerticalCandidateTableView.h
|
|
||||||
│ ├── VTVerticalCandidateTableView.m
|
|
||||||
│ ├── VTVerticalKeyLabelStripView.h
|
|
||||||
│ └── VTVerticalKeyLabelStripView.m
|
|
||||||
├── Data
|
├── Data
|
||||||
│ ├── BPMFBase.txt
|
│ ├── BPMFBase.txt
|
||||||
│ ├── BPMFMappings.txt
|
│ ├── BPMFMappings.txt
|
||||||
|
@ -24,19 +18,18 @@
|
||||||
│ ├── Symbols.txt
|
│ ├── Symbols.txt
|
||||||
│ ├── bin
|
│ ├── bin
|
||||||
│ │ ├── C_Version
|
│ │ ├── C_Version
|
||||||
│ │ │ ├── C_count.occ.exe
|
|
||||||
│ │ │ ├── Makefile
|
│ │ │ ├── Makefile
|
||||||
│ │ │ ├── count.bash
|
│ │ │ ├── count.bash
|
||||||
│ │ │ └── count.occurrence.c
|
│ │ │ └── count.occurrence.c
|
||||||
│ │ ├── README
|
│ │ ├── README
|
||||||
│ │ ├── Sample_Prep
|
│ │ ├── Sample_Prep
|
||||||
│ │ │ ├── build.bash
|
│ │ │ ├── build.bash
|
||||||
│ │ │ ├── filter.bash
|
│ │ │ └── filter.bash
|
||||||
│ │ │ └── filter.py
|
|
||||||
│ │ ├── bpmfmap.py
|
│ │ ├── bpmfmap.py
|
||||||
│ │ ├── buildFreq.py
|
│ │ ├── buildFreq.py
|
||||||
│ │ ├── cook-plain-bpmf.py
|
│ │ ├── cook-plain-bpmf.py
|
||||||
│ │ ├── cook.py
|
│ │ ├── cook.py
|
||||||
|
│ │ ├── cook_util.py
|
||||||
│ │ ├── count.bash
|
│ │ ├── count.bash
|
||||||
│ │ ├── count.occurrence.py
|
│ │ ├── count.occurrence.py
|
||||||
│ │ ├── disabled
|
│ │ ├── disabled
|
||||||
|
@ -47,7 +40,6 @@
|
||||||
│ │ │ ├── cook.rb
|
│ │ │ ├── cook.rb
|
||||||
│ │ │ ├── count.occurrence.pl
|
│ │ │ ├── count.occurrence.pl
|
||||||
│ │ │ ├── countphrase.bash
|
│ │ │ ├── countphrase.bash
|
||||||
│ │ │ ├── filter.bash
|
|
||||||
│ │ │ ├── randomShuffle.bash
|
│ │ │ ├── randomShuffle.bash
|
||||||
│ │ │ ├── typocorrection.bash
|
│ │ │ ├── typocorrection.bash
|
||||||
│ │ │ └── utf8length.pl
|
│ │ │ └── utf8length.pl
|
||||||
|
@ -55,6 +47,7 @@
|
||||||
│ │ ├── self-score-test.py
|
│ │ ├── self-score-test.py
|
||||||
│ │ └── textpool.rc
|
│ │ └── textpool.rc
|
||||||
│ ├── data-plain-bpmf.txt
|
│ ├── data-plain-bpmf.txt
|
||||||
|
│ ├── data.txt
|
||||||
│ ├── exclusion.txt
|
│ ├── exclusion.txt
|
||||||
│ ├── heterophony1.list
|
│ ├── heterophony1.list
|
||||||
│ ├── heterophony2.list
|
│ ├── heterophony2.list
|
||||||
|
@ -64,11 +57,9 @@
|
||||||
│ │ ├── covered_by_others.txt
|
│ │ ├── covered_by_others.txt
|
||||||
│ │ ├── covered_by_singles.txt
|
│ │ ├── covered_by_singles.txt
|
||||||
│ │ └── falsecount.txt
|
│ │ └── falsecount.txt
|
||||||
│ ├── phrase.occ
|
│ └── phrase.occ
|
||||||
│ └── problem.txt
|
|
||||||
├── Engine
|
├── Engine
|
||||||
│ ├── FastLM.cpp
|
│ ├── CMakeLists.txt
|
||||||
│ ├── FastLM.h
|
|
||||||
│ ├── Gramambular
|
│ ├── Gramambular
|
||||||
│ │ ├── Bigram.h
|
│ │ ├── Bigram.h
|
||||||
│ │ ├── BlockReadingBuilder.h
|
│ │ ├── BlockReadingBuilder.h
|
||||||
|
@ -81,121 +72,137 @@
|
||||||
│ │ ├── Span.h
|
│ │ ├── Span.h
|
||||||
│ │ ├── Unigram.h
|
│ │ ├── Unigram.h
|
||||||
│ │ └── Walker.h
|
│ │ └── Walker.h
|
||||||
|
│ ├── KeyValueBlobReader.cpp
|
||||||
|
│ ├── KeyValueBlobReader.h
|
||||||
|
│ ├── KeyValueBlobReaderTest.cpp
|
||||||
│ ├── Mandarin
|
│ ├── Mandarin
|
||||||
│ │ ├── Mandarin.cpp
|
│ │ ├── Mandarin.cpp
|
||||||
│ │ └── Mandarin.h
|
│ │ └── Mandarin.h
|
||||||
│ └── OpenVanilla
|
│ ├── McBopomofoLM.cpp
|
||||||
│ ├── OVAroundFilter.h
|
│ ├── McBopomofoLM.h
|
||||||
│ ├── OVBase.h
|
│ ├── OpenVanilla
|
||||||
│ ├── OVBenchmark.h
|
│ │ ├── OVAroundFilter.h
|
||||||
│ ├── OVCINDataTable.h
|
│ │ ├── OVBase.h
|
||||||
│ ├── OVCINDatabaseService.h
|
│ │ ├── OVBenchmark.h
|
||||||
│ ├── OVCINToSQLiteConvertor.h
|
│ │ ├── OVCINDataTable.h
|
||||||
│ ├── OVCandidateService.h
|
│ │ ├── OVCINDatabaseService.h
|
||||||
│ ├── OVDatabaseService.h
|
│ │ ├── OVCINToSQLiteConvertor.h
|
||||||
│ ├── OVDateTimeHelper.h
|
│ │ ├── OVCandidateService.h
|
||||||
│ ├── OVEncodingService.h
|
│ │ ├── OVDatabaseService.h
|
||||||
│ ├── OVEventHandlingContext.h
|
│ │ ├── OVDateTimeHelper.h
|
||||||
│ ├── OVException.h
|
│ │ ├── OVEncodingService.h
|
||||||
│ ├── OVFileHelper.h
|
│ │ ├── OVEventHandlingContext.h
|
||||||
│ ├── OVFrameworkInfo.h
|
│ │ ├── OVException.h
|
||||||
│ ├── OVInputMethod.h
|
│ │ ├── OVFileHelper.h
|
||||||
│ ├── OVKey.h
|
│ │ ├── OVFrameworkInfo.h
|
||||||
│ ├── OVKeyPreprocessor.h
|
│ │ ├── OVInputMethod.h
|
||||||
│ ├── OVKeyValueMap.h
|
│ │ ├── OVKey.h
|
||||||
│ ├── OVLoaderBase.h
|
│ │ ├── OVKeyPreprocessor.h
|
||||||
│ ├── OVLoaderService.h
|
│ │ ├── OVKeyValueMap.h
|
||||||
│ ├── OVLocalization.h
|
│ │ ├── OVLoaderBase.h
|
||||||
│ ├── OVModule.h
|
│ │ ├── OVLoaderService.h
|
||||||
│ ├── OVModulePackage.h
|
│ │ ├── OVLocalization.h
|
||||||
│ ├── OVOutputFilter.h
|
│ │ ├── OVModule.h
|
||||||
│ ├── OVPathInfo.h
|
│ │ ├── OVModulePackage.h
|
||||||
│ ├── OVSQLiteDatabaseService.h
|
│ │ ├── OVOutputFilter.h
|
||||||
│ ├── OVSQLiteWrapper.h
|
│ │ ├── OVPathInfo.h
|
||||||
│ ├── OVStringHelper.h
|
│ │ ├── OVSQLiteDatabaseService.h
|
||||||
│ ├── OVTextBuffer.h
|
│ │ ├── OVSQLiteWrapper.h
|
||||||
│ ├── OVUTF8Helper.h
|
│ │ ├── OVStringHelper.h
|
||||||
│ ├── OVWildcard.h
|
│ │ ├── OVTextBuffer.h
|
||||||
│ └── OpenVanilla.h
|
│ │ ├── OVUTF8Helper.h
|
||||||
├── IconMaker
|
│ │ ├── OVWildcard.h
|
||||||
│ ├── AppIconRendererView.h
|
│ │ └── OpenVanilla.h
|
||||||
│ ├── AppIconRendererView.m
|
│ ├── ParselessLM.cpp
|
||||||
│ ├── BopomofoIconRenderView.h
|
│ ├── ParselessLM.h
|
||||||
│ ├── BopomofoIconRenderView.m
|
│ ├── ParselessLMBenchmark.cpp
|
||||||
│ ├── IconMaker-Info.plist
|
│ ├── ParselessLMTest.cpp
|
||||||
│ ├── IconMaker-Prefix.pch
|
│ ├── ParselessPhraseDB.cpp
|
||||||
│ ├── IconMaker.xcodeproj
|
│ ├── ParselessPhraseDB.h
|
||||||
│ │ └── project.pbxproj
|
│ ├── ParselessPhraseDBTest.cpp
|
||||||
│ ├── IconMakerAppDelegate.h
|
│ ├── PhraseReplacementMap.cpp
|
||||||
│ ├── IconMakerAppDelegate.m
|
│ ├── PhraseReplacementMap.h
|
||||||
│ ├── ImageZoomInView.h
|
│ ├── PhraseReplacementMapTest.cpp
|
||||||
│ ├── ImageZoomInView.m
|
│ ├── UserOverrideModel.cpp
|
||||||
│ ├── TISIconRendererView.h
|
│ ├── UserOverrideModel.h
|
||||||
│ ├── TISIconRendererView.m
|
│ ├── UserPhrasesLM.cpp
|
||||||
│ ├── en.lproj
|
│ ├── UserPhrasesLM.h
|
||||||
│ │ └── MainMenu.xib
|
│ └── UserPhrasesLMTest.cpp
|
||||||
│ └── main.m
|
|
||||||
├── Images
|
├── Images
|
||||||
│ ├── Bopomofo.tiff
|
│ ├── Bopomofo.tiff
|
||||||
│ ├── Bopomofo@2x.tiff
|
│ ├── Bopomofo@2x.tiff
|
||||||
│ ├── BopomofoTextMenu.tiff
|
│ ├── Images.xcassets
|
||||||
│ ├── BopomofoTextMenu@2x.tiff
|
│ │ ├── AlertIcon.imageset
|
||||||
│ ├── McBopomofo.iconset
|
│ │ │ ├── 128X128.png
|
||||||
│ │ ├── icon_128x128.png
|
│ │ │ ├── 192x192.png
|
||||||
│ │ ├── icon_128x128@2x.png
|
│ │ │ ├── 64X64.png
|
||||||
│ │ ├── icon_16x16.png
|
│ │ │ └── Contents.json
|
||||||
│ │ ├── icon_16x16@2x.png
|
│ │ ├── AppIcon.appiconset
|
||||||
│ │ ├── icon_256x256.png
|
│ │ │ ├── 1024X1024.png
|
||||||
│ │ ├── icon_256x256@2x.png
|
│ │ │ ├── 128X128.png
|
||||||
│ │ ├── icon_32x32.png
|
│ │ │ ├── 16X16.png
|
||||||
│ │ ├── icon_32x32@2x.png
|
│ │ │ ├── 256X256.png
|
||||||
│ │ ├── icon_512x512.png
|
│ │ │ ├── 32X32.png
|
||||||
│ │ └── icon_512x512@2x.png
|
│ │ │ ├── 512X512.png
|
||||||
|
│ │ │ ├── 64X64.png
|
||||||
|
│ │ │ └── Contents.json
|
||||||
|
│ │ └── Contents.json
|
||||||
│ ├── PlainBopomofo.tiff
|
│ ├── PlainBopomofo.tiff
|
||||||
│ ├── PlainBopomofo@2x.tiff
|
│ └── PlainBopomofo@2x.tiff
|
||||||
│ ├── favicon.ico
|
├── InputMethodController.swift
|
||||||
│ ├── favicon.png
|
├── InputState.swift
|
||||||
│ └── favicon.tiff
|
|
||||||
├── InputMethodController.h
|
|
||||||
├── InputMethodController.mm
|
|
||||||
├── Installer
|
├── Installer
|
||||||
│ ├── AppDelegate.h
|
│ ├── AppDelegate.swift
|
||||||
│ ├── AppDelegate.m
|
│ ├── ArchiveUtil.swift
|
||||||
|
│ ├── Base.lproj
|
||||||
|
│ │ └── MainMenu.xib
|
||||||
|
│ ├── BundleTranslocate.h
|
||||||
|
│ ├── BundleTranslocate.m
|
||||||
│ ├── Installer-Info.plist
|
│ ├── Installer-Info.plist
|
||||||
│ ├── Installer-Prefix.pch
|
│ ├── Installer-Prefix.pch
|
||||||
|
│ ├── McBopomofoInstaller-Bridging-Header.h
|
||||||
|
│ ├── NotarizedArchives
|
||||||
|
│ │ └── README.md
|
||||||
│ ├── en.lproj
|
│ ├── en.lproj
|
||||||
│ │ ├── InfoPlist.strings
|
│ │ ├── InfoPlist.strings
|
||||||
│ │ ├── License.rtf
|
│ │ ├── License.rtf
|
||||||
│ │ ├── Localizable.strings
|
│ │ └── Localizable.strings
|
||||||
│ │ └── MainMenu.xib
|
|
||||||
│ ├── main.m
|
|
||||||
│ └── zh-Hant.lproj
|
│ └── zh-Hant.lproj
|
||||||
│ ├── InfoPlist.strings
|
│ ├── InfoPlist.strings
|
||||||
│ ├── License.rtf
|
│ ├── License.rtf
|
||||||
│ ├── Localizable.strings
|
│ ├── Localizable.strings
|
||||||
│ └── MainMenu.xib
|
│ └── MainMenu.xib
|
||||||
|
├── KeyHandler.h
|
||||||
|
├── KeyHandler.mm
|
||||||
|
├── KeyHandlerInput.swift
|
||||||
|
├── LanguageModelManager+Privates.h
|
||||||
|
├── LanguageModelManager.h
|
||||||
|
├── LanguageModelManager.mm
|
||||||
|
├── McBopomofo-Bridging-Header.h
|
||||||
├── McBopomofo-Info.plist
|
├── McBopomofo-Info.plist
|
||||||
├── McBopomofo-Prefix.pch
|
├── McBopomofo-Prefix.pch
|
||||||
├── OVInputSourceHelper.h
|
├── NonModalAlertWindowController.swift
|
||||||
├── OVInputSourceHelper.m
|
├── NonModalAlertWindowController.xib
|
||||||
├── PreferencesWindowController.h
|
├── Preferences.swift
|
||||||
├── PreferencesWindowController.m
|
├── PreferencesWindowController.swift
|
||||||
├── README
|
├── README
|
||||||
├── Tools
|
├── Tools
|
||||||
│ ├── genRTF.py
|
│ ├── genRTF.py
|
||||||
│ └── tistool.m
|
│ └── tistool.m
|
||||||
├── UpdateNotificationController.h
|
|
||||||
├── UpdateNotificationController.m
|
|
||||||
├── en.lproj
|
├── en.lproj
|
||||||
|
│ ├── Credits.rtf
|
||||||
│ ├── InfoPlist.strings
|
│ ├── InfoPlist.strings
|
||||||
│ ├── Localizable.strings
|
│ └── Localizable.strings
|
||||||
│ ├── MainMenu.xib
|
├── main.swift
|
||||||
│ ├── UpdateNotificationController.xib
|
|
||||||
│ └── preferences.xib
|
|
||||||
├── main.m
|
|
||||||
└── zh-Hant.lproj
|
└── zh-Hant.lproj
|
||||||
|
├── Credits.rtf
|
||||||
├── InfoPlist.strings
|
├── InfoPlist.strings
|
||||||
├── Localizable.strings
|
├── Localizable.strings
|
||||||
├── MainMenu.xib
|
├── MainMenu.xib
|
||||||
├── UpdateNotificationController.xib
|
├── preferences.xib
|
||||||
└── preferences.xib
|
├── template-data.txt
|
||||||
|
├── template-exclude-phrases-plain-bpmf.txt
|
||||||
|
├── template-exclude-phrases.txt
|
||||||
|
└── template-phrases-replacement.txt
|
||||||
|
|
||||||
|
23 directories, 182 files
|
||||||
|
|
Loading…
Reference in New Issue