Skip to content

Commit e7124cc

Browse files
committed
Refactoring
1 parent 3bd7976 commit e7124cc

File tree

5 files changed

+9
-215
lines changed

5 files changed

+9
-215
lines changed

.github/workflows/gradle.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v2
19-
- name: Set up JDK 17
19+
- name: Set up JDK 21
2020
uses: actions/setup-java@v2
2121
with:
22-
java-version: '17'
23-
distribution: 'adopt'
22+
java-version: '21'
23+
distribution: 'temurin'
2424
- name: Grant execute permission for gradlew
2525
run: chmod +x gradlew
2626
- name: Build with Gradle

README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,8 @@ class Example {
7171
## Откуда взяты слова и морфология?
7272

7373
За слова и морфологическую информацию спасибо проекту [morph_dict](https://github.com/sokirko74/morph_dict). Из него и
74-
были взяты исходные [mrd и tab файлы словарей](https://github.com/sokirko74/morph_dict/tree/master/data/Russian).
74+
были взяты исходные текстовые [mrd и tab файлы словарей](https://github.com/sokirko74/morph_dict/tree/master/data/Russian).
7575
Документация для них лежит [здесь](https://github.com/sokirko74/aot/blob/master/Docs/Morph_UNIX.txt). В нашей
7676
java-библиотеке, эти исходные словари [скомпилированы](https://github.com/demidko/aot-compiler) в бинарный формат,
77-
более удобный для быстрой загрузки в память и
78-
поиска. В качестве общего стандарта для библиотеки и компилятора, используется
79-
библиотека [aot-bytecode](https://github.com/demidko/aot-bytecode).
77+
более удобный для быстрой загрузки в память и поиска. В качестве общего стандарта для библиотеки и компилятора,
78+
используется [aot-bytecode](https://github.com/demidko/aot-bytecode).

build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ plugins {
1212
}
1313
dependencies {
1414
api("com.github.demidko:bits:2022.08.06")
15-
api("com.github.demidko:aot-bytecode:2025.02.09")
15+
api("com.github.demidko:aot-bytecode:2025.02.15")
1616
testImplementation("org.junit.jupiter:junit-jupiter:5.9.0")
1717
testImplementation("org.hamcrest:hamcrest:2.2")
1818
}

src/main/java/com/github/demidko/aot/PartOfSpeech.java

-206
This file was deleted.

src/main/java/com/github/demidko/aot/WordformMeaning.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package com.github.demidko.aot;
22

33
import com.github.demidko.aot.morphology.MorphologyTag;
4+
import com.github.demidko.aot.morphology.PartOfSpeech;
45
import com.github.demidko.bits.BitReader;
56
import com.github.demidko.bits.BitWriter;
67

@@ -14,7 +15,7 @@
1415

1516
import static com.github.demidko.aot.AotReader.*;
1617
import static com.github.demidko.aot.ByteBlock.readBlockFrom;
17-
import static com.github.demidko.aot.PartOfSpeech.partOfSpeech;
18+
import static com.github.demidko.aot.morphology.PartOfSpeech.partOfSpeech;
1819
import static java.util.Arrays.asList;
1920
import static java.util.Collections.emptyList;
2021
import static java.util.Objects.hash;

0 commit comments

Comments
 (0)