Sanskrit NLP scala and java library

A collection of scala and java classes for some basic natural language processing (NLP) for the Sanskrit language, contributed by the open source SanskritNLP project and friends. Some notable facilities: * Transliterate text from one script or encoding scheme to another. * Deal with babylon dictionaries. * Use bots to write to wiki projects (wiktionary, wikisource etc..). * Basic metre identification. * Some grammar simulation. Contributions and suggestions are invited at https://github.com/sanskrit-coders/sanskritnlpjava . (Sister projects there may also be of interest.)

License

License

GroupId

GroupId

com.github.sanskrit-coders
ArtifactId

ArtifactId

sanskritnlp
Last Version

Last Version

1.2
Release Date

Release Date

Type

Type

jar
Description

Description

Sanskrit NLP scala and java library
A collection of scala and java classes for some basic natural language processing (NLP) for the Sanskrit language, contributed by the open source SanskritNLP project and friends. Some notable facilities: * Transliterate text from one script or encoding scheme to another. * Deal with babylon dictionaries. * Use bots to write to wiki projects (wiktionary, wikisource etc..). * Basic metre identification. * Some grammar simulation. Contributions and suggestions are invited at https://github.com/sanskrit-coders/sanskritnlpjava . (Sister projects there may also be of interest.)
Project URL

Project URL

https://github.com/sanskrit-coders/sanskritnlpjava
Source Code Management

Source Code Management

https://github.com/sanskrit-coders/sanskritnlpjava

Download sanskritnlp

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.sanskrit-coders/sanskritnlp/ -->
<dependency>
    <groupId>com.github.sanskrit-coders</groupId>
    <artifactId>sanskritnlp</artifactId>
    <version>1.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.sanskrit-coders/sanskritnlp/
implementation 'com.github.sanskrit-coders:sanskritnlp:1.2'
// https://jarcasting.com/artifacts/com.github.sanskrit-coders/sanskritnlp/
implementation ("com.github.sanskrit-coders:sanskritnlp:1.2")
'com.github.sanskrit-coders:sanskritnlp:jar:1.2'
<dependency org="com.github.sanskrit-coders" name="sanskritnlp" rev="1.2">
  <artifact name="sanskritnlp" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.sanskrit-coders', module='sanskritnlp', version='1.2')
)
libraryDependencies += "com.github.sanskrit-coders" % "sanskritnlp" % "1.2"
[com.github.sanskrit-coders/sanskritnlp "1.2"]

Dependencies

compile (9)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.11.8
org.scala-lang : scala-xml jar 2.11.0-M4
com.github.sanskrit-coders : indic-transliteration jar 1.1
org.json4s : json4s_2.11 jar 3.2.11
org.json4s : json4s-native_2.11 jar 3.2.11
ch.qos.logback : logback-classic jar 0.9.29
ch.qos.logback : logback-core jar 0.9.29
net.sourceforge : jwbf jar 3.0.0
jstl : jstl jar 1.2

Project Modules

There are no modules declared in this project.

Introduction

A collection of java classes for some basic natural language processing (NLP) for the Sanskrit language, contributed by the open source SanskritNLP project and friends. Some notable facilities:

  • Basic metre identification.
  • Some grammar simulation.

Contributions and suggestions are invited at https://github.com/sanskrit-coders/sanskritnlpjava . (Sister projects there may also be of interest.)

Users

Library users

  • Maven repository here .
  • Last update : 2017-03-23

Built output

  • Final jar files
    • out/*.jar [all modules in intellij project]
    • target/*.jar [includes sources and javadocs in separate jars. sanskritnlp module only]
  • Classes
    • out/production/*/ [Modules other than sanskritnlp.]
    • target/sanskritnlp-1.0-SNAPSHOT/WEB-INF/classes [sanskritnlp module output.]

Some known users

Contributors

Setup

  • Strongly recomment Intellij Idea IDE.
    • Just point it to the IML file and .idea/* files.
  • There are also eclipse files which haven't been used in a long time.

Deployment

Regarding maven targets in intellij [Deprecated]

  • Easiest: Use the View -> Tool Windows -> "Maven Projects" window.
  • You can set up a maven goal as a run configuration.
  • In intellij: Don't be fooled by weird messages in the Run widget - look at the messages widget.

Releasing to maven.

  • Note that we're using appengine-maven-plugin in <pom.xml>, and credentials stored in settings.xml (<-- not to be checked in) .
  • Deploy snapshot artifacts into repository https://oss.sonatype.org/content/repositories/snapshots/com/github/sanskrit-coders/sanskritnlp.
    • Version number ends with -SNAPSHOT. Eg. 1.0-SNAPSHOT
    • Build and release target: clean deploy.
    • intellij target name: "mvn deploy".
  • Deploy release artifacts into the staging repository and here :
    • Repeat the same with a non snapshot version number.
  • Releasing to central (if it does not automatically happen):
    • Notes: http://central.sonatype.org/pages/releasing-the-deployment.html
    • Artifacts can be examined on Sonatype here and released - if the staging repository is visible there. Otherwise, it may already be deployed in central!
    • Maven target can be used: nexus-staging:release . There is an intellij target of the same name.
    • "After you successfully release, your component will be published to Central, typically within 10 minutes, though updates to search.maven.org can take up to two hours."
  • Group id was created under Sonatype: here , and we received exemption from the javadoc requirement alter (link).

Links to general comments

See indic-transliteration/README for the following info:

com.github.sanskrit-coders

Sanskrit Open Source Programmers

Versions

Version
1.2
1.1
1.0