- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for KuromojiItem (0.12 sec)
-
src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiItem.java
public class KuromojiItem extends DictionaryItem { private final String token; private final String segmentation; private final String reading; private final String pos; private String newToken; private String newSegmentation; private String newReading; private String newPos;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 4.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java
final PagingList<KuromojiItem> itemList = kuromojiFile.selectList(0, 5); for (int i = 0; i < itemList.size(); i++) { final KuromojiItem kuromojiItem = itemList.get(i); assertEquals("token" + (i + 1), kuromojiItem.getToken()); assertEquals("seg" + (i + 1), kuromojiItem.getSegmentation()); assertEquals("reading" + (i + 1), kuromojiItem.getReading());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiItemTest.java
public void test_new1() { final KuromojiItem kuromojiItem = new KuromojiItem(1, "t1", "s1", "r1", "p1"); assertEquals(1, kuromojiItem.getId()); assertEquals("t1", kuromojiItem.getToken()); assertEquals("s1", kuromojiItem.getSegmentation()); assertEquals("r1", kuromojiItem.getReading()); assertEquals("p1", kuromojiItem.getPos()); assertNull(kuromojiItem.getNewToken());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java
return path; } @Override public synchronized OptionalEntity<KuromojiItem> get(final long id) { if (kuromojiItemList == null) { reload(null); } for (final KuromojiItem kuromojiItem : kuromojiItemList) { if (id == kuromojiItem.getId()) { return OptionalEntity.of(kuromojiItem); } } return OptionalEntity.empty(); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 9.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/KuromojiService.java
} public OptionalEntity<KuromojiItem> getKuromojiItem(final String dictId, final long id) { return getKuromojiFile(dictId).map(file -> file.get(id).get()); } public void store(final String dictId, final KuromojiItem kuromojiItem) { getKuromojiFile(dictId).ifPresent(file -> { if (kuromojiItem.getId() == 0) { file.insert(kuromojiItem); } else {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java
import org.codelibs.fess.app.web.api.ApiResult; import org.codelibs.fess.app.web.api.admin.FessApiAdminAction; import org.codelibs.fess.dict.kuromoji.KuromojiFile; import org.codelibs.fess.dict.kuromoji.KuromojiItem; import org.lastaflute.web.Execute; import org.lastaflute.web.response.JsonResponse; import org.lastaflute.web.response.StreamResponse; import jakarta.annotation.Resource;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.3K bytes - Viewed (0)