-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'HEAD' of https://catalindumitru@github.com/catalindumit…
…ru/Proiect-AI-2012---GUI.git
- Loading branch information
Showing
24 changed files
with
34,952 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ | |
*.suo | ||
*.dll | ||
*.pdb | ||
*.cache | ||
*.cache | ||
*.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<?xml version="1.0"?> | ||
<DocumentResponse> | ||
<State>Finished</State><Content><summay> | ||
<name>initial file name</name> | ||
<extraction> | ||
<!-- tipul romanului --> | ||
<type>Romance</type> | ||
|
||
<!-- personajele --> | ||
<characters > | ||
<character name ="traveller" /> | ||
<character name ="wife" /> | ||
<character name ="driver" /> | ||
<character name ="Sean" /> | ||
<character name ="waitress" /> | ||
<character name ="Jane" /> | ||
<character name ="seller" /> | ||
<character name ="EM" /> | ||
<character name ="Liz" /> | ||
<character name ="Cole" /> | ||
</characters> | ||
|
||
<!-- locatii --> | ||
<locations > | ||
<location name ="home" /> | ||
<location name ="highway" /> | ||
<location name ="airport" /> | ||
<location name ="restaurant" /> | ||
<location name ="store" /> | ||
<location name ="car" /> | ||
<location name ="road" /> | ||
<location name ="bedroom" /> | ||
<location name ="school" /> | ||
</locations> | ||
|
||
<relations> | ||
<relation character1="traveller" character2="wife" verb="married" /> | ||
<relation character1="traveller" character2="Sean" verb="friends" /> | ||
<relation character1="traveller" character2="Jane" verb="friends" /> | ||
<relation character1="traveller" character2="Liz" verb="friends" /> | ||
|
||
<relation character1="driver" character2="seller" verb="enemies" /> | ||
|
||
<relation character1="Sean" character2="Liz" verb="lovers" /> | ||
<relation character1="Sean" character2="wife" verb="friends" /> | ||
<relation character1="Sean" character2="Jane" verb="friends" /> | ||
|
||
<relation character1="Cole" character2="EM" verb="father" /> | ||
</relations> | ||
</extraction> | ||
<summarisation> | ||
<summary> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec enim nisi, convallis et mattis eget, porttitor et nibh. Sed id elit massa, vel sodales est. Aenean ut eros neque. Donec id blandit nibh. Duis varius dictum eleifend. Nunc nec risus felis. Proin justo tellus, fringilla molestie volutpat id, vulputate porta massa. Nullam a lacus vitae neque convallis hendrerit id sed tellus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Mauris aliquam blandit ullamcorper. In a lectus felis, sollicitudin malesuada ante. Aenean magna ligula, condimentum eget tempor dictum, cursus vulputate turpis. Nam purus dolor, varius vel aliquet non, pretium non arcu. Praesent sit amet dui elit, aliquet tempor ipsum. Aenean mattis, erat at accumsan ullamcorper, arcu enim vulputate nisi, et laoreet urna felis sit amet massa. Nunc ac lectus et turpis auctor aliquam. Maecenas sagittis, lectus et semper iaculis, lectus mi interdum justo, scelerisque sollicitudin tortor ante in diam. Duis commodo arcu eget orci facilisis bibendum. Integer vulputate lorem et dolor euismod volutpat. Nunc sit amet turpis nisi, id ornare leo. Cras nec tincidunt mauris. Nulla facilisi. Sed elementum aliquam diam nec placerat. Phasellus tellus nibh, volutpat luctus vehicula volutpat, consectetur at odio. Curabitur laoreet porta arcu, nec pellentesque ante imperdiet sed. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Proin placerat porttitor enim, at molestie ligula tincidunt a. Suspendisse quis mollis mi. Integer ultricies fringilla bibendum. Donec commodo, purus id hendrerit adipiscing, eros eros commodo libero, in egestas justo nibh congue dolor. Fusce in ipsum eu erat tincidunt venenatis sit amet eu metus. Vestibulum nec elementum sem. Maecenas ante nulla, fermentum vel dignissim vel, tristique sed dui. Aenean vitae neque rutrum urna iaculis aliquam. Maecenas dictum lacinia facilisis. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Proin elit eros, imperdiet vel egestas in, consequat et dolor. Sed nec neque at lorem pellentesque convallis at non dui. Aenean porta tincidunt magna ornare ornare. Nulla gravida nibh ut orci suscipit fringilla. Integer sed augue ac purus scelerisque mattis. In commodo nisl porttitor nulla pretium sollicitudin. Maecenas ut auctor elit. Donec quis sem diam, at congue arcu. Nam consectetur auctor vestibulum. Cras nec velit leo. Aliquam eu nulla id eros elementum vulputate. Aliquam erat volutpat. In vitae porttitor lorem. Donec pharetra gravida ipsum at aliquet. Nullam tincidunt pellentesque odio. Ut tristique ultricies eros id mattis. Quisque eleifend, ligula non lacinia posuere, erat neque molestie dolor, vel ullamcorper massa sem vitae eros. Nam pharetra dapibus lacus, a dapibus lorem euismod nec. Suspendisse potenti. Curabitur bibendum ligula vitae diam pharetra vitae pulvinar eros consequat. Praesent fermentum elementum luctus. Nulla eget mauris non velit semper sodales. Sed rutrum elementum pulvinar. Proin nec tortor urna. Ut at ligula vel mauris lacinia mollis. Praesent erat nisi, ultrices vel suscipit et, gravida ac dui. In nec elementum mi. Nulla ultrices nisl ut velit iaculis porta. | ||
</summary> | ||
</summarisation> | ||
</summay></Content></DocumentResponse> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#inner-details { | ||
font-size:12px; | ||
} | ||
|
||
span.close { | ||
color:#FF5555; | ||
cursor:pointer; | ||
font-weight:bold; | ||
margin-left:3px; | ||
} | ||
|
||
span.name { | ||
cursor: pointer; | ||
} | ||
|
||
/*TOOLTIPS*/ | ||
.tip { | ||
text-align: left; | ||
width:auto; | ||
max-width:500px; | ||
} | ||
|
||
.tip-title { | ||
font-size: 11px; | ||
text-align:center; | ||
margin-bottom:2px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,123 @@ | ||
html, body { | ||
margin:0; | ||
padding:0; | ||
font-family: "Lucida Grande", Verdana; | ||
font-size: 0.9em; | ||
text-align: center; | ||
background-color:#F2F2F2; | ||
} | ||
|
||
input, select { | ||
font-size:0.9em; | ||
} | ||
|
||
table { | ||
margin-top:-10px; | ||
margin-left:7px; | ||
} | ||
|
||
h4 { | ||
font-size:1.1em; | ||
text-decoration:none; | ||
font-weight:normal; | ||
color:#23A4FF; | ||
} | ||
|
||
a { | ||
color:#23A4FF; | ||
} | ||
|
||
#container { | ||
width: 1000px; | ||
height: 600px; | ||
margin:0 auto; | ||
position:relative; | ||
} | ||
|
||
#left-container, | ||
#right-container, | ||
#center-container { | ||
height:600px; | ||
position:absolute; | ||
top:0; | ||
} | ||
|
||
#left-container, #right-container { | ||
width:200px; | ||
color:#686c70; | ||
text-align: left; | ||
overflow: auto; | ||
background-color:#fff; | ||
background-repeat:no-repeat; | ||
border-bottom:1px solid #ddd; | ||
} | ||
|
||
#left-container { | ||
left:0; | ||
background-image:url('col2.png'); | ||
background-position:center right; | ||
border-left:1px solid #ddd; | ||
|
||
} | ||
|
||
#right-container { | ||
right:0; | ||
background-image:url('col1.png'); | ||
background-position:center left; | ||
border-right:1px solid #ddd; | ||
} | ||
|
||
#right-container h4{ | ||
text-indent:8px; | ||
} | ||
|
||
#center-container { | ||
width:600px; | ||
left:200px; | ||
background-color:#1a1a1a; | ||
color:#ccc; | ||
} | ||
|
||
.text { | ||
margin: 7px; | ||
} | ||
|
||
#inner-details { | ||
font-size:0.8em; | ||
list-style:none; | ||
margin:7px; | ||
} | ||
|
||
#log { | ||
position:absolute; | ||
top:10px; | ||
font-size:1.0em; | ||
font-weight:bold; | ||
color:#23A4FF; | ||
} | ||
|
||
|
||
#infovis { | ||
position:relative; | ||
width:600px; | ||
height:600px; | ||
margin:auto; | ||
overflow:hidden; | ||
} | ||
|
||
/*TOOLTIPS*/ | ||
.tip { | ||
color: #111; | ||
width: 139px; | ||
background-color: white; | ||
border:1px solid #ccc; | ||
-moz-box-shadow:#555 2px 2px 8px; | ||
-webkit-box-shadow:#555 2px 2px 8px; | ||
-o-box-shadow:#555 2px 2px 8px; | ||
box-shadow:#555 2px 2px 8px; | ||
opacity:0.9; | ||
filter:alpha(opacity=90); | ||
font-size:10px; | ||
font-family:Verdana, Geneva, Arial, Helvetica, sans-serif; | ||
padding:7px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | ||
<title>ForceDirected - Force Directed Static Graph</title> | ||
|
||
<!-- CSS Files --> | ||
<link type="text/css" href="css/base.css" rel="stylesheet" /> | ||
<link type="text/css" href="css/ForceDirected.css" rel="stylesheet" /> | ||
|
||
<!--[if IE]><script language="javascript" type="text/javascript" src="../../Extras/excanvas.js"></script><![endif]--> | ||
|
||
<!-- JIT Library File --> | ||
<script language="javascript" type="text/javascript" src="js/jit.js"></script> | ||
|
||
<!-- Example File --> | ||
<script language="javascript" type="text/javascript" src="js/example1.js"></script> | ||
</head> | ||
|
||
<body onload="init();"> | ||
<div id="container"> | ||
|
||
|
||
|
||
<div id="center-container"> | ||
<div id="infovis"></div> | ||
</div> | ||
|
||
<div id="right-container"> | ||
|
||
<div id="inner-details"></div> | ||
|
||
</div> | ||
|
||
<div id="log"></div> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
<html> | ||
<head> | ||
<title>Parsing XML in Javascript</title> | ||
<!-- CSS Files --> | ||
<link type="text/css" href="css/base.css" rel="stylesheet" /> | ||
<link type="text/css" href="css/ForceDirected.css" rel="stylesheet" /> | ||
|
||
<!--[if IE]><script language="javascript" type="text/javascript" src="../../Extras/excanvas.js"></script><![endif]--> | ||
|
||
<!-- JIT Library File --> | ||
<script language="javascript" type="text/javascript" src="js/jit.js"></script> | ||
|
||
<!-- Example File --> | ||
<script language="javascript" type="text/javascript" src="js/example1.js"></script> | ||
<script type="text/javascript"> | ||
var xmlpath = "myxml1.xml" | ||
var json= new Array(); | ||
var xmlhttp = new XMLHttpRequest(); | ||
|
||
xmlhttp.open("GET", xmlpath, false); | ||
xmlhttp.setRequestHeader('Content-Type', 'text/xml'); | ||
xmlhttp.send(""); | ||
xmlDoc = xmlhttp.responseXML; | ||
readXML(); | ||
|
||
function WriteLine(input) | ||
{ | ||
document.write(input + "<br>"); | ||
} | ||
|
||
function f() | ||
{ | ||
WriteLine("Merge"); | ||
} | ||
|
||
function readXML() { | ||
|
||
var persons = new Array(); | ||
|
||
for(var i = 0 ; i < xmlDoc.documentElement.childNodes.length ; i++) | ||
{ var b = true; | ||
var person1 = xmlDoc.documentElement.childNodes[i].attributes[0].nodeValue; | ||
for (var k =0; k< persons.length; k++) { | ||
if (person1 == persons[k]) { | ||
b = false; | ||
} | ||
} | ||
if (b) { | ||
persons[persons.length] = person1; | ||
var adjacencies = new Array(); | ||
|
||
for(var j = 0 ; j < xmlDoc.documentElement.childNodes.length ; j++){ | ||
var person1Aux = xmlDoc.documentElement.childNodes[j].attributes[0].nodeValue; | ||
|
||
if ( person1 == person1Aux ) { | ||
var person2 = xmlDoc.documentElement.childNodes[j].attributes[1].nodeValue; | ||
var rel = xmlDoc.documentElement.childNodes[j].attributes[2].nodeValue; | ||
adjacencies[adjacencies.length] = { "nodeTo": person2, | ||
"nodeFrom": person1, | ||
"data": {"$color": "#557EAA", | ||
"relation": rel }}; | ||
} | ||
} | ||
|
||
json[json.length] = {"adjacencies" : adjacencies, | ||
"data": { | ||
"$color": "#416D9C", | ||
"$type": "square", | ||
"$dim": 10 | ||
}, | ||
"id": person1, | ||
"name": person1}; | ||
} | ||
} | ||
} | ||
</script> | ||
|
||
|
||
</head> | ||
<body onload=" init(json)"> | ||
<div id="container"> | ||
|
||
|
||
|
||
<div id="center-container"> | ||
<div id="infovis"></div> | ||
</div> | ||
|
||
<div id="right-container"> | ||
|
||
<div id="inner-details"></div> | ||
|
||
</div> | ||
|
||
<div id="log"></div> | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.