Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/arm64_centos7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
KIWI_ARCH_TYPE=balanced ./build/kiwi-cli-* -m ./models/base -e -o test.out kowiki1000.txt
KIWI_ARCH_TYPE=neon ./build/kiwi-cli-* -m ./models/base -e -o test.out kowiki1000.txt
- name: Archive binaries
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Artifacts Arm64-Centos7
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/centos7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
./build/kiwi-evaluator -m ./models/base eval_data/*.txt --sbg -o eval_results/
- run: tar -zcvf arts.tgz build/*kiwi* build/test/*kiwi* eval_results/*.txt build/bindings/java/*.jar
- name: Archive binaries
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Artifacts Centos7
path: arts.tgz
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
KIWI_ARCH_TYPE=neon ./build/kiwi-cli-* -m ./models/base -e -o test.out --typos 6 kowiki1000.txt
fi
- name: Archive binaries
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Artifacts ${{ matrix.name }}
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ppc64le_centos7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
cp -r build /artifacts/
cp -r eval_results /artifacts/
- name: Archive binaries
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Artifacts PPC64LE-Centos7
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
KIWI_ARCH_TYPE=avx512bw ./build/kiwi-cli-* -m ./models/base -e -o test.out --sbg kowiki1000.txt
KIWI_ARCH_TYPE=avx512bw ./build/kiwi-cli-* -m ./models/base -e -o test.out --typos 6 kowiki1000.txt
- name: Archive binaries
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Artifacts ${{ matrix.name }}
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
.\build\Release\kiwi-evaluator.exe -m .\models\base (Get-ChildItem eval_data\*.txt | Select-Object -Expand FullName) -o eval_results\
.\build\Release\kiwi-evaluator.exe -m .\models\base --sbg (Get-ChildItem eval_data\*.txt | Select-Object -Expand FullName) -o eval_results\
- name: Archive binaries
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Artifacts ${{ matrix.os }} ${{ matrix.arch }}bit
path: |
Expand Down
2 changes: 1 addition & 1 deletion src/KiwiBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2126,7 +2126,7 @@ Kiwi KiwiBuilder::build(const TypoTransformer& typos, float typoCostThreshold) c
estimatedNodeSize += f->first.size() - commonPrefix;
prevForm = &f->first;
}
ret.typoForms.emplace_back(0, 0, 0, hash);
ret.typoForms.emplace_back(0, 0, hash);
ret.typoPtrs.emplace_back(ret.typoPool.size());
formTrie.reserveMore(estimatedNodeSize);

Expand Down
Loading