Debian Codegraph @

importers/ding2tei/todo/misc.consider

raw
1 Write a proper TEI library for Haskell.
2
3 Identification of the grammatical gender of words annotated as plural
4 - Note: The annotation is mostly on the german side, so I focus on that.
5 - If, separated by <|> (or also <;>?), there is a noun (with annotated gender)
6 that is a prefix of the plural word in question, transfer the gender.
7 - also allow for conversion to umlauts (e.g. "Blatt" ~ "Blätter").
8 - does not catch certain loanwords (e.g. "Forum" ~ "Foren" (or "Fora" - not
9 contained in the Ding))
10 - Use some regexes to figure out classes of words with such special plural
11 form. (Just match for significant common prefixes allowing umlauts and
12 possibly other small diversions - possibly only where no maximal
13 matching prefix is found) -- use sed (or else HappyParser.y)
14 - see also: https://de.wikipedia.org/wiki/Plural#Spezielle_Pluralformen_von_Fremdw%C3%B6rtern
15
16 Identification of german nouns by Capitalisation
17 - useful mostly for {pl} annotation, which may also be given for other POS
18 - use regexes ? -- difficult due to sentences and loan-doublewords.
19
20 Add stuff that I stumble upon
21 - different sedfile
22 - examples
23 - "Fora" as plural of "Forum"
24
25 Separate sedfiles
26 - categories
27 - typos (in regular words)
28 - incorrect formatting
29 - incorrect annotations
30 - ...
31 - problem: categories overlap at times
32
33 Reversing routine(s)
34 - AST -> Ding
35 - TEI -> AST ?
36 - rather obligatory when writing a proper TEI library
37 - and probably not much extra work
38
39 Identify flected forms
40 - remove pronouns, exclamation marks
41
42 Generalize `mergeWs' (in `AlexScanner') somehow.
43 - Note: The usage of `foldr' does not really make it better.
44 - `Either' is probably to be used to do generalization upon.
45 - alternative: a `foldr' with a lookahead of 1.
46
47 Consider exportable intermediate language (XML?) that allows several keys per
48 entry.