Skip to content

Commit

Permalink
Allow represenation of sentences in text
Browse files Browse the repository at this point in the history
  • Loading branch information
dwerning authored Sep 5, 2023
2 parents 7356847 + bed6d67 commit 887e155
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main/java/tla/domain/command/SentenceSearch.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import lombok.Setter;
import lombok.Singular;
import tla.domain.dto.SentenceDto;
import tla.domain.dto.SentenceDto.SentenceContext;
import tla.domain.model.Transcription;
import tla.domain.model.SentenceToken.Lemmatization;
import tla.domain.model.meta.BTSeClass;
Expand All @@ -23,11 +24,16 @@
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonIgnoreProperties(ignoreUnknown = true)
public class SentenceSearch extends MultiLingSearchCommand<SentenceDto> {

private SentenceContext context;


@Getter
@Setter
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public static class TokenSpec {

public String id;
/**
* looking for usages of a specific lemma entry.
*/
Expand Down Expand Up @@ -88,6 +94,8 @@ public boolean equals(Object o) {
valueFilter = TypeSpec.EmptyObjectFilter.class
)
private TypeSpec type;



private PassportSpec passport;

Expand Down

0 comments on commit 887e155

Please sign in to comment.