Instruct: Identify the main and secondary category of Arxiv papers based on the titles and abstracts
Query: There Once Was a Really Bad Poet, It Was Automated but You Didn't Know
  It   Limerick generation exemplifies some of the most difficult challenges faced
in poetry generation, as the poems must tell a story in only five lines, with
constraints on rhyme, stress, and meter. To address these challenges, we
introduce LimGen, a novel and fully automated system for limerick generation
that outperforms state-of-the-art neural network-based poetry models, as well
as prior rule-based poetry models. LimGen consists of three important pieces:
the Adaptive Multi-Templated Constraint algorithm that constrains our search to
the space of realistic poems, the Multi-Templated Beam Search algorithm which
searches efficiently through the space, and the probabilistic Storyline
algorithm that provides coherent storylines related to a user-provided prompt
word. The resulting limericks satisfy poetic constraints and have thematically
coherent storylines, which are sometimes even funny (when we are lucky).

4
The categories of this paper are: cond-mat
25
The categories of this paper are: patt-sol
5
The categories of this paper are: gr-qc
13
The categories of this paper are: quant-ph
22
The categories of this paper are: chao-dyn
36
The categories of this paper are: cmp-lg
6
The categories of this paper are: astro-ph
29
The categories of this paper are: funct-an
27
The categories of this paper are: comp-gas
0
The categories of this paper are: hep-ph
35
The categories of this paper are: mtrl-th
7
The categories of this paper are: hep-th
24
The categories of this paper are: dg-ga
32
The categories of this paper are: atom-ph
18
The categories of this paper are: econ
26
The categories of this paper are: bayes-an