-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNonLexFeatureHandler.java
More file actions
35 lines (27 loc) · 871 Bytes
/
Copy pathNonLexFeatureHandler.java
File metadata and controls
35 lines (27 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package com.deft.sarcasm.features;
import java.io.IOException;
import com.deft.sarcasm.train.SarcasmResourceLoader;
public class NonLexFeatureHandler
{
private SarcasmResourceLoader sarcasmRLObject;
private String unigramPath;
private String nonLexFeatureFile;
private EXPERIMENT_MODE experMode;
public NonLexFeatureHandler(EXPERIMENT_MODE experMode, SarcasmResourceLoader sarcasmRLObject)
{
this.sarcasmRLObject = sarcasmRLObject ;
this.experMode = experMode ;
}
public void setNonLexFeatureFile(String nonLexFeatureFile,
String unigramPath)
{
// TODO Auto-generated method stub
this.unigramPath = unigramPath ;
this.nonLexFeatureFile = nonLexFeatureFile ;
}
public void loadNonLexFeatures() throws IOException
{
// TODO Auto-generated method stub
// sarcasmRLObject.loadGlobalNonLexFeatures(unigramPath, nonLexFeatureFile) ;
}
}