From 90f7d5ba07340413aa7e43c3a0cc038690b32db3 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Fri, 26 Mar 2021 19:50:54 -0400 Subject: Add part of speech info (#1561) * Add part of speech info to headwords * Expose parts of speech to Anki template rendering * Expose parts of speech * Update pitch accent categories * Update docs * Add part-of-speech * Update options and tests * Update markers * Update test data --- docs/interfaces/dictionary-entry.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs/interfaces') diff --git a/docs/interfaces/dictionary-entry.ts b/docs/interfaces/dictionary-entry.ts index 0b64908b..facca6e5 100644 --- a/docs/interfaces/dictionary-entry.ts +++ b/docs/interfaces/dictionary-entry.ts @@ -270,6 +270,10 @@ namespace Translation { * Tags for the headword. */ tags: Tag[]; + /** + * List of word classes (part of speech) for the headword. + */ + wordClasses: string[]; } /** -- cgit v1.2.3