Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ExpliClas-TFG
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Bruno López Trigo
ExpliClas-TFG
Commits
3447b73e
Commit
3447b73e
authored
Feb 26, 2018
by
Bruno López Trigo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Solucionado bug en el cálculo de intervalos más probables dentro del LanguageRealiser
parent
244085ad
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
11 deletions
+29
-11
codigo/WekaParser-v1/build/built-jar.properties
codigo/WekaParser-v1/build/built-jar.properties
+2
-2
codigo/WekaParser-v1/build/classes/languagerealiser/LanguageRealiser.class
...-v1/build/classes/languagerealiser/LanguageRealiser.class
+0
-0
codigo/WekaParser-v1/case.xml
codigo/WekaParser-v1/case.xml
+8
-8
codigo/WekaParser-v1/dist/WekaParser-v1.jar
codigo/WekaParser-v1/dist/WekaParser-v1.jar
+0
-0
codigo/WekaParser-v1/nbproject/private/private.xml
codigo/WekaParser-v1/nbproject/private/private.xml
+10
-0
codigo/WekaParser-v1/src/languagerealiser/LanguageRealiser.java
.../WekaParser-v1/src/languagerealiser/LanguageRealiser.java
+9
-1
No files found.
codigo/WekaParser-v1/build/built-jar.properties
View file @
3447b73e
#
Fri, 23 Feb 2018 12:58:52
+0100
#
Mon, 26 Feb 2018 18:17:01
+0100
C\:\\Users\\brilemau\\Documents\\repos\\
TFG-ExpliClas
\\codigo\\
WekaParser-v1
=
C\:\\Users\\brilemau\\Documents\\repos\\
ExpliClas-TFG
\\codigo\\
WekaParser-v1
=
codigo/WekaParser-v1/build/classes/languagerealiser/LanguageRealiser.class
View file @
3447b73e
No preview for this file type
codigo/WekaParser-v1/case.xml
View file @
3447b73e
...
...
@@ -3,7 +3,7 @@
<antecedents>
<antecedent>
<attribute
name=
"Strength"
>
<value>
0.0
4
</value>
<value>
0.0
38
</value>
<textValue>
Session
</textValue>
<maxValue>
0.136
</maxValue>
<minValue>
0.035
</minValue>
...
...
@@ -40,13 +40,13 @@
</attribute>
<interval>
<leftValue>
0.035
</leftValue>
<rightValue>
0.07
</rightValue>
<rightValue>
0.0
5
7
</rightValue>
</interval>
</antecedent>
<antecedent>
<attribute
name=
"Color"
>
<value>
2
0.0
</value>
<textValue>
Brown
</textValue>
<value>
1
0.0
</value>
<textValue>
Amber
</textValue>
<maxValue>
45.0
</maxValue>
<minValue>
0.0
</minValue>
<properties>
...
...
@@ -88,13 +88,13 @@
</properties>
</attribute>
<interval>
<leftValue>
17
.0
</leftValue>
<rightValue>
29
.0
</rightValue>
<leftValue>
6
.0
</leftValue>
<rightValue>
17
.0
</rightValue>
</interval>
</antecedent>
</antecedents>
<consequent>
<code>
7
.0
</code>
<text>
7
.0
</text>
<code>
2
.0
</code>
<text>
2
.0
</text>
</consequent>
</rule>
codigo/WekaParser-v1/dist/WekaParser-v1.jar
View file @
3447b73e
No preview for this file type
codigo/WekaParser-v1/nbproject/private/private.xml
0 → 100644
View file @
3447b73e
<?xml version="1.0" encoding="UTF-8"?>
<project-private
xmlns=
"http://www.netbeans.org/ns/project-private/1"
>
<editor-bookmarks
xmlns=
"http://www.netbeans.org/ns/editor-bookmarks/2"
lastBookmarkId=
"0"
/>
<open-files
xmlns=
"http://www.netbeans.org/ns/projectui-open-files/2"
>
<group>
<file>
file:/C:/Users/brilemau/Documents/repos/ExpliClas-TFG/codigo/WekaParser-v1/src/wekaparser/v1/SpecificObject.java
</file>
<file>
file:/C:/Users/brilemau/Documents/repos/ExpliClas-TFG/codigo/WekaParser-v1/src/wekaparser/v1/WekaParserV1.java
</file>
</group>
</open-files>
</project-private>
codigo/WekaParser-v1/src/languagerealiser/LanguageRealiser.java
View file @
3447b73e
...
...
@@ -81,6 +81,7 @@ public class LanguageRealiser implements LanguageRealiserInterface {
phrases
.
add
(
sentence
);
fullCoincidence
=
false
;
labelList
.
clear
();
}
...
...
@@ -145,7 +146,14 @@ public class LanguageRealiser implements LanguageRealiserInterface {
System
.
out
.
println
(
this
.
realiser
.
realiseSentence
(
consequent
));
//System.out.println(this.realiser.realiseSentence(consequent));
NLGElement
data
=
nlgFactory
.
createSentence
(
"This classification is derived from the following data"
);
System
.
out
.
println
(
this
.
realiser
.
realiseSentence
(
data
));
for
(
int
i
=
0
;
i
<
antecedent
.
size
();
i
+=
2
){
System
.
out
.
println
(
this
.
realiser
.
realiseSentence
(
antecedent
.
get
(
i
)));
}
return
consequent
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment