congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
IrishLowerCaseFilter.isUpperVowel
Code IndexAdd Tabnine to your IDE (free)

How to use
isUpperVowel
method
in
org.apache.lucene.analysis.ga.IrishLowerCaseFilter

Best Java code snippets using org.apache.lucene.analysis.ga.IrishLowerCaseFilter.isUpperVowel (Showing top 3 results out of 315)

origin: org.apache.lucene/lucene-analyzers-common

@Override
public boolean incrementToken() throws IOException {
 if (input.incrementToken()) {
  char[] chArray = termAtt.buffer();
  int chLen = termAtt.length();
  int idx = 0;
  if (chLen > 1 && (chArray[0] == 'n' || chArray[0] == 't') && isUpperVowel(chArray[1])) {
   chArray = termAtt.resizeBuffer(chLen + 1);
   for (int i = chLen; i > 1; i--) {
    chArray[i] = chArray[i - 1];
   }
   chArray[1] = '-';
   termAtt.setLength(chLen + 1);
   idx = 2;
   chLen = chLen + 1;
  }
  for (int i = idx; i < chLen;) {
   i += Character.toChars(Character.toLowerCase(chArray[i]), chArray, i);
   }
  return true;
 } else {
  return false;
 }
}

origin: org.apache.lucene/lucene-analyzers

@Override
public boolean incrementToken() throws IOException {
 if (input.incrementToken()) {
  char[] chArray = termAtt.buffer();
  int chLen = termAtt.length();
  int idx = 0;
  if (chLen > 1 && (chArray[0] == 'n' || chArray[0] == 't') && isUpperVowel(chArray[1])) {
   chArray = termAtt.resizeBuffer(chLen + 1);
   for (int i = chLen; i > 1; i--) {
    chArray[i] = chArray[i - 1];
   }
   chArray[1] = '-';
   termAtt.setLength(chLen + 1);
   idx = 2;
   chLen = chLen + 1;
  }
  for (int i = idx; i < chLen;) {
   i += Character.toChars(Character.toLowerCase(chArray[i]), chArray, i);
   }
  return true;
 } else {
  return false;
 }
}

origin: org.infinispan/infinispan-embedded-query

@Override
public boolean incrementToken() throws IOException {
 if (input.incrementToken()) {
  char[] chArray = termAtt.buffer();
  int chLen = termAtt.length();
  int idx = 0;
  if (chLen > 1 && (chArray[0] == 'n' || chArray[0] == 't') && isUpperVowel(chArray[1])) {
   chArray = termAtt.resizeBuffer(chLen + 1);
   for (int i = chLen; i > 1; i--) {
    chArray[i] = chArray[i - 1];
   }
   chArray[1] = '-';
   termAtt.setLength(chLen + 1);
   idx = 2;
   chLen = chLen + 1;
  }
  for (int i = idx; i < chLen;) {
   i += Character.toChars(Character.toLowerCase(chArray[i]), chArray, i);
   }
  return true;
 } else {
  return false;
 }
}

org.apache.lucene.analysis.gaIrishLowerCaseFilterisUpperVowel

Popular methods of IrishLowerCaseFilter

  • <init>
    Create an IrishLowerCaseFilter that normalises Irish token text.

Popular in Java

  • Finding current android device location
  • compareTo (BigDecimal)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getSupportFragmentManager (FragmentActivity)
  • Kernel (java.awt.image)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now