com.aliasi.medline
Class MedlineChars

java.lang.Object
  extended by com.aliasi.medline.MedlineChars

Deprecated. Moved to lingmed sandbox project.

@Deprecated
public class MedlineChars
extends Object

The MedlineChars class contains static methods for handling characters in MEDLINE. All valid characters may be retrieved as an array, or characters may be tested for validity using the isValid(char) method.

The list of valid characters is as defined at:

NLM MEDLINE Character Database

Since:
LingPipe2.0
Version:
3.9.1
Author:
Bob Carpenter

Field Summary
static int NUM_CHARS
          Deprecated. The number of characters used in MEDLINE text content.
static char[] VALID_CHARS
          Deprecated. Array containing the complete set of characters used in text content in MEDLINE.
 
Method Summary
static boolean isValid(char c)
          Deprecated. Returns true if the specified character may appear as part of text content in a MEDLINE record.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VALID_CHARS

public static final char[] VALID_CHARS
Deprecated. 
Array containing the complete set of characters used in text content in MEDLINE. See the class documentation for source information.


NUM_CHARS

public static final int NUM_CHARS
Deprecated. 
The number of characters used in MEDLINE text content.

Method Detail

isValid

public static boolean isValid(char c)
Deprecated. 
Returns true if the specified character may appear as part of text content in a MEDLINE record.

Parameters:
c - Character to test for validity.
Returns:
true if the specified character may appear as part of text content in a MEDLINE record.