Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for normalize_res (0.09 sec)

  1. bin/diff_yaml.py

            spec['ports'] = ports
    
            return res
        except KeyError as ke:
            if 'spec' in str(ke) or 'ports' in str(ke) or 'port' in str(ke):
                return res
    
            raise
    
    
    def normalize_res(res, args):
        if not res:
            return res
    
        if args.ignore_labels:
            drop_keys(res, "metadata", "labels")
    
        if args.ignore_namespace:
            drop_keys(res, "metadata", "namespace")
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Mar 03 16:14:57 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/normalizer/NormalizerChain.java

    import java.util.List;
    
    public class NormalizerChain implements Normalizer {
        List<Normalizer> normalizers = new ArrayList<>();
    
        @Override
        public String normalize(final String text, final String field, final String... langs) {
            String tmp = text;
            for (final Normalizer normalizer : normalizers) {
                tmp = normalizer.normalize(tmp, field, langs);
            }
            return tmp;
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top