edu.emory.mathcs.nlp:nlp4j-tokenization

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

License

License

GroupId

GroupId

edu.emory.mathcs.nlp
ArtifactId

ArtifactId

nlp4j-tokenization
Last Version

Last Version

1.1.2
Release Date

Release Date

Type

Type

jar
Description

Description

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/
Project URL

Project URL

http://nlp.mathcs.emory.edu
Source Code Management

Source Code Management

https://github.com/emorynlp/nlp4j-tokenization

Download nlp4j-tokenization

How to add to project

<!-- https://jarcasting.com/artifacts/edu.emory.mathcs.nlp/nlp4j-tokenization/ -->
<dependency>
    <groupId>edu.emory.mathcs.nlp</groupId>
    <artifactId>nlp4j-tokenization</artifactId>
    <version>1.1.2</version>
</dependency>
// https://jarcasting.com/artifacts/edu.emory.mathcs.nlp/nlp4j-tokenization/
implementation 'edu.emory.mathcs.nlp:nlp4j-tokenization:1.1.2'
// https://jarcasting.com/artifacts/edu.emory.mathcs.nlp/nlp4j-tokenization/
implementation ("edu.emory.mathcs.nlp:nlp4j-tokenization:1.1.2")
'edu.emory.mathcs.nlp:nlp4j-tokenization:jar:1.1.2'
<dependency org="edu.emory.mathcs.nlp" name="nlp4j-tokenization" rev="1.1.2">
  <artifact name="nlp4j-tokenization" type="jar" />
</dependency>
@Grapes(
@Grab(group='edu.emory.mathcs.nlp', module='nlp4j-tokenization', version='1.1.2')
)
libraryDependencies += "edu.emory.mathcs.nlp" % "nlp4j-tokenization" % "1.1.2"
[edu.emory.mathcs.nlp/nlp4j-tokenization "1.1.2"]

Dependencies

compile (1)

Group / Artifact Type Version
edu.emory.mathcs.nlp : nlp4j-common jar 1.1.2

test (1)

Group / Artifact Type Version
junit : junit jar 4.10

Project Modules

There are no modules declared in this project.

Tokenization

Our tokenizer takes a raw text and splits tokens by their morphological aspects. It also groups tokens into sentences. Our tokenizer is based on the LDC tokenizer used for creating English Treebanks although it uses more robust heuristics. Here are some key features about our tokenizer.

  • Emoticons are recognized as one unit (e.g., :-), ^_^).
  • Hyperlinks are recognized as one unit (emory.edu, [email protected], index.html).
  • Numbers consisting of punctuation are recognized as one unit (e.g., 0.1, 2/3).
  • Repeated punctuation are grouped together (e.g., ---, ...).
  • Abbreviations are recognized as one unit (e.g., Prof., Ph.D).
  • File extensions are not tokenized (e.g., clearnlp.zip, tokenizer.doc).
  • Units are tokenized (e.g., 1 kg, 2 cm).
  • Usernames including periods are recognized as one unit (e.g., jinho.choi).

API

TokenizerDemo shows how the tokenizer can be used in APIs.

edu.emory.mathcs.nlp

Emory NLP

NLP research group at Emory University

Versions

Version
1.1.2
1.1.1
1.1.0
1.0.0