Metadata-Version: 2.1
Name: headline-gen
Version: 2.1
Author: venkatchoudharyala
Author-email: venkatchoudhary.ala@gmail.com
Requires-Python: >=3.6
Description-Content-Type: text/markdown


# Headline Generation Package

This is a Python package for generating headlines from articles.

## Usage

```python
from headline_gen.Control import ServerInit, Generate

# Run this once to start the server
Server = ServerInit("Start")

# Generate headline from article text
HeadLine = Generate("Your article text goes here...", Server)
print(HeadLine)

# Stop the server when done
ServerInit("Stop")
```

## Description

This package provides functionality to generate headlines from article text using natural language processing techniques.

## Installation

You can install the package using pip:

```bash
pip install headline-gen
```

## Usage Instructions

1. Import the `ServerInit` and `Generate` functions from the `Control` module.
2. Start the server using `ServerInit("Start")`. This only needs to be done once.
3. Generate headlines using the `Generate` function, passing the article text as an argument.
4. Stop the server when done using `ServerInit("Stop")`.
