-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtextrank_doc
More file actions
23 lines (15 loc) · 899 Bytes
/
Copy pathtextrank_doc
File metadata and controls
23 lines (15 loc) · 899 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
KeyWord Extractor
This part takes a POS Tagged piece of text and generates the keywords that describe the entire text.
C. KEYWORD EXTRACTOR
--------------------
1. preparing input :
a) make a file named input (or change the name accordingly in trun.sh).
b) Write the total number of words in the first line.
c) In the second line, write the pos tagged input; the separator of the actual word and POS Tag being an underscore (_) (or change the MACRO 'TAG_SEPARATOR' in the file vertex.h)
NOTE : The POS Tagger above writes such an output on the standard error stream.
2. To recompile and run the KeyWord Extractor, use the following command:
sh trun.sh
****THE MAKEFILE PROVIDED HAS VARIOUS USEFUL TARGETS:
-----------------------------------------------------
1. txsm_clean : removes all the object files of the KeyWord Extractor
2. txsm_install : recompiles the KeyWord Extractor