Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
932c793f94
9 changed files with 27 additions and 16 deletions
|
@ -3,12 +3,14 @@ package org.texttechnologylab.project.gruppe_05_1.domain.speaker;
|
|||
import java.time.LocalDate;
|
||||
import java.util.Objects;
|
||||
import java.util.StringJoiner;
|
||||
|
||||
/**
|
||||
* Datei implementiert von Valentin
|
||||
*/
|
||||
public class Membership {
|
||||
String role;
|
||||
String member; // TODO: wozu? Dr. Abrami hat hier die ID des Parlamentariers gespeichert
|
||||
LocalDate begin; // TODO: in Mongo eigentlich Date?
|
||||
LocalDate end; // TODO: in Mongo eigentlich Date?
|
||||
String member;
|
||||
LocalDate begin;
|
||||
LocalDate end;
|
||||
String label;
|
||||
Integer wp;
|
||||
|
||||
|
|
|
@ -4,7 +4,9 @@ import java.time.LocalDate;
|
|||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
import java.util.StringJoiner;
|
||||
|
||||
/**
|
||||
* Datei implementiert von Valentin
|
||||
*/
|
||||
public abstract class Speaker {
|
||||
String id;
|
||||
String name;
|
||||
|
@ -23,9 +25,6 @@ public abstract class Speaker {
|
|||
String primaryFoto;
|
||||
List<Membership> memberships;
|
||||
|
||||
// TODO: List<Speech> speeches;
|
||||
|
||||
// TODO: Photos
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
|
|
|
@ -2,7 +2,9 @@ package org.texttechnologylab.project.gruppe_05_1.domain.speech;
|
|||
|
||||
import java.util.Objects;
|
||||
import java.util.StringJoiner;
|
||||
|
||||
/**
|
||||
* Datei implementiert von Valentin
|
||||
*/
|
||||
public abstract class Agenda {
|
||||
String index;
|
||||
String id;
|
||||
|
|
|
@ -4,7 +4,9 @@ import java.util.List;
|
|||
import java.util.Map;
|
||||
import java.util.Objects;
|
||||
import java.util.StringJoiner;
|
||||
|
||||
/**
|
||||
* Datei implementiert von Valentin
|
||||
*/
|
||||
public abstract class Comment {
|
||||
|
||||
String id;
|
||||
|
|
|
@ -4,7 +4,9 @@ import java.time.LocalDate;
|
|||
import java.time.LocalTime;
|
||||
import java.util.Objects;
|
||||
import java.util.StringJoiner;
|
||||
|
||||
/**
|
||||
* Datei implementiert von Valentin
|
||||
*/
|
||||
public abstract class Protocol {
|
||||
LocalDate date;
|
||||
LocalTime startTime;
|
||||
|
|
|
@ -3,7 +3,9 @@ package org.texttechnologylab.project.gruppe_05_1.domain.speech;
|
|||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
import java.util.StringJoiner;
|
||||
|
||||
/**
|
||||
* Datei implementiert von Valentin
|
||||
*/
|
||||
public abstract class Speech {
|
||||
String id;
|
||||
String text;
|
||||
|
|
|
@ -5,16 +5,17 @@ import java.util.Objects;
|
|||
import java.util.StringJoiner;
|
||||
|
||||
/**
|
||||
* Datei implementiert von Valentin
|
||||
* Diese Klasse dient der Darstellung aller Reden eines Parlamentariers.
|
||||
*/
|
||||
public class SpeechMetaData {
|
||||
// aus "speech" Collection
|
||||
String speechKey; // z.B. "ID2011400300"
|
||||
int speechId; // TODO: nötig?
|
||||
int speechId;
|
||||
int speakerId;
|
||||
String speakerName;
|
||||
String fraktion;
|
||||
int sessionId; // TODO: nötig?
|
||||
int sessionId;
|
||||
|
||||
// aus "sessions" Collection
|
||||
LocalDateTime dateTime;
|
||||
|
|
|
@ -2,7 +2,9 @@ package org.texttechnologylab.project.gruppe_05_1.domain.speech;
|
|||
|
||||
import java.util.Objects;
|
||||
import java.util.StringJoiner;
|
||||
|
||||
/**
|
||||
* Datei implementiert von Valentin
|
||||
*/
|
||||
public abstract class TextContent {
|
||||
String id;
|
||||
String speakerId;
|
||||
|
|
|
@ -50,7 +50,6 @@ public class NlpUtils {
|
|||
|
||||
|
||||
public static void createNlpData() {
|
||||
// Source: Dr. Abrami - Beispiel TODO
|
||||
duuiInit();
|
||||
runDockerDriver();
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue