Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

NGram Analytics Transform Plugin: Transforms input features into n-grams

License

Notifications You must be signed in to change notification settings

data-integrations/ngram-analytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NGram Transform Plugin

cm-available License Join CDAP community

Introduction

Transforms the input features into n-grams, where n-gram is a sequence of n tokens (typically words) for some integer 'n'.

Getting Started

Prerequisites

CDAP version 3.5.x or higher.

Building Plugins

You get started with Run transform plugin by building directly from the latest source code::

git clone https://github.com/hydrator/ngram-analytics.git cd ngram-analytics mvn clean package

After the build completes, you will have a JAR for each plugin under each <plugin-name>/target/ directory.

Deploying Plugins

You can deploy a plugin using the CDAP CLI::

load artifact <target/plugin-jar> config-file <resources/plugin-config>

load artifact target/ngram-transform-plugin-.jar
config-file target/ngram-transform-plugin-.json

You can build without running tests: mvn clean install -DskipTests

Limitations

  • UI doesn't support schema's with hyphens (-), so the plugin currently transforms all the schemas with - into underscores (_). This change will be reverted after this is fixed: https://issues.cask.co/browse/HYDRATOR-1125

Mailing Lists

CDAP User Group and Development Discussions:

  • cdap-user@googlegroups.com <https://groups.google.com/d/forum/cdap-user>__

The cdap-user mailing list is primarily for users using the product to develop applications or building plugins for appplications. You can expect questions from users, release announcements, and any other discussions that we think will be helpful to the users.

IRC Channel

CDAP IRC Channel: #cdap on irc.freenode.net

License and Trademarks

Copyright © 2015-2016 Cask Data, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Cask is a trademark of Cask Data, Inc. All rights reserved.

Apache, Apache HBase, and HBase are trademarks of The Apache Software Foundation. Used with permission. No endorsement by The Apache Software Foundation is implied by the use of these marks.

.. |(Hydrator)| image:: http://cask.co/wp-content/uploads/hydrator_logo_cdap1.png

Releases

No releases published

Packages

No packages published

Languages