Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for getToken (0.12 sec)

  1. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java

            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());
                assertEquals("pos" + (i + 1), kuromojiItem.getPos());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SpnegoContext.java

    
        private static SpnegoToken getToken ( byte[] token, int off, int len ) throws SpnegoException {
            byte[] b = new byte[len];
            if ( off == 0 && token.length == len ) {
                b = token;
            }
            else {
                System.arraycopy(token, off, b, 0, len);
            }
            return getToken(b);
        }
    
    
        private static SpnegoToken getToken ( byte[] token ) throws SpnegoException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Jan 04 04:18:31 UTC 2021
    - 14.8K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java

        protected EditBody createEditBody(final KuromojiItem entity, final String dictId) {
            final EditBody body = new EditBody();
            body.id = entity.getId();
            body.dictId = dictId;
            body.token = entity.getToken();
            body.reading = entity.getReading();
            body.pos = entity.getPos();
            body.segmentation = entity.getSegmentation();
            return body;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/bsentity/BsAccessToken.java

            registerModifiedProperty("permissions");
            this.permissions = value;
        }
    
        public String getToken() {
            checkSpecifiedProperty("token");
            return convertEmptyToNull(token);
        }
    
        public void setToken(String value) {
            registerModifiedProperty("token");
            this.token = value;
        }
    
        public String getUpdatedBy() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiItem.java

        }
    
        public String getNewPos() {
            return newPos;
        }
    
        public void setNewPos(final String newPos) {
            this.newPos = newPos;
        }
    
        public String getToken() {
            return token;
        }
    
        public String getSegmentation() {
            return segmentation;
        }
    
        public String getReading() {
            return reading;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/AccessTokenDbm.java

            setupEpg(_epgMap, et -> ((AccessToken) et).getPermissions(), (et, vl) -> ((AccessToken) et).setPermissions((String[]) vl),
                    "permissions");
            setupEpg(_epgMap, et -> ((AccessToken) et).getToken(), (et, vl) -> ((AccessToken) et).setToken(DfTypeUtil.toString(vl)), "token");
            setupEpg(_epgMap, et -> ((AccessToken) et).getUpdatedBy(), (et, vl) -> ((AccessToken) et).setUpdatedBy(DfTypeUtil.toString(vl)),
                    "updatedBy");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/converter/AnalyzerConverter.java

                                .actionGet(settings.getIndicesTimeout());
    
                final List<AnalyzeToken> readingTokenList = readingResponse.getTokens();
                final List<AnalyzeToken> termTokenList = termResponse.getTokens();
    
                final StringBuilder readingBuf = new StringBuilder(text.length());
                if (readingTokenList != null && termTokenList != null) {
                    int offset = 0;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/normalizer/AnalyzerNormalizer.java

                        .setAnalyzer(analyzerSettings.getNormalizeAnalyzerName(field, lang)).execute().actionGet(settings.getIndicesTimeout());
    
                final List<AnalyzeToken> termTokenList = termResponse.getTokens();
                if (termTokenList.isEmpty()) {
                    return text;
                }
    
                return termTokenList.get(0).getTerm();
            }
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

                        .setAnalyzer(getContentsAnalyzerName(field, lang)).execute().actionGet(settings.getIndicesTimeout());
                return analyzeResponse.getTokens();
            }
    
            @Override
            public List<AnalyzeToken> analyzeAndReading(final String text, final String field, final String lang) {
                try {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top