Current section
Files
Jump to
Current section
Files
mix.exs
defmodule CoreNLP.Mixfile do
use Mix.Project
def project do
[
app: :corenlp,
version: "0.1.2",
elixir: "~> 1.8",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps(),
description: description(),
package: package(),
# Docs.
name: "CoreNLP",
source_url: "https://github.com/arpieb/corenlp",
homepage_url: "https://github.com/arpieb/corenlp",
docs: [
main: "readme",
extras: [
"README.md",
"LICENSE.md"
]
]
]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
# Specify extra applications you'll use from Erlang/Elixir
[
extra_applications: [
:logger,
:httpoison,
:poison,
]
]
end
# Dependencies can be Hex packages:
#
# {:my_dep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:my_dep, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
#
# Type "mix help deps" for more examples and options
defp deps do
[
{:ex_doc, "~> 0.19.3", only: :dev},
{:httpoison, "~> 1.5"},
{:poison, "~> 4.0"},
]
end
defp description do
"""
This package provides a client interface to a Stanford CoreNLP Server for natural language processing (NLP) of textual content.
"""
end
defp package do
[
files: [
"lib",
"mix.exs",
"README*",
"LICENSE*",
],
maintainers: ["Robert Bates"],
licenses: ["Apache 2.0"],
links: %{
"GitHub" => "https://github.com/arpieb/corenlp",
"Stanford CoreNLP Project" => "http://stanfordnlp.github.io/CoreNLP/index.html",
},
]
end
end