Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
summarizer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SENSEI
summarizer
Commits
c1e0fccf
Commit
c1e0fccf
authored
8 years ago
by
Benoit Favre
Browse files
Options
Downloads
Patches
Plain Diff
add README
parent
fffe9643
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README
+61
-0
61 additions, 0 deletions
README
with
61 additions
and
0 deletions
README
0 → 100644
+
61
−
0
View file @
c1e0fccf
SUMMARIZATION MODULE
====================
This module can generate synopses based on the the conversation you give it. it
is based on learning features thanks to some annotation on previous synopses
applied for a new conversation. This file gives you the needs and what you need
to change if you want to improve or adapt the method to fit you data.
HOW TO
======
See example.py
NEEDS
=====
- Python 2.7
- Icsiboost
FILES & ANNOTATIONS
===================
source/syn.annot
----------------
the annotation of the synopses are like so:
topic conversation_ID Annotator text <a class="instance" variable="$SLOT_NAME"
style="color:cyan" title="$SLOT_NAME" href="#"> slot_value </a> text.
/!\ if you create new slots_name make sure to update the icsiboost.names /!\
conversations files
-------------------
The tsv format was defined for storing Decoda annotations, each word has a few
fields:
<filename> <global-wordnum> <wordnum-in-sentence> <word> NULL <postag> NULL NULL
<dependency-label> <governor-wordnum> <text-id> <lemma> <morphology> <speaker>
0.0 0.0 0.0 _ <mention> <features> <corefence-label>
predsyn.py
----------
Generate the data you'll need to learn the features.
For each phrases it gives you:
- name of the conversation
- word (text)
- postag
- lemma
- named entity
- parent
- parent pos
- dependency label
- topic
- length
- sentence number
- speaker
summarizer.py
-------------
Generate the final synopsis based on all the previous data.
exemple:
import summarizer
#conv = summarizer.Word()
summarizer.summarize(conversation, threshold, convID)
threshold here is a fixed value to start looking results from. Based on our
experiment it was optimal at 0.02 for the icsiboost system.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment