lexa 0.0.3
Added
-
add_text()
which outputs an empty text skeleton.
lexa 0.0.1
Added
-
show_text()
to show text/sentence based on ID.
Fixed
Errors when importing lexicon from csv file.
Check for presence of lexical information when printing database, and print nothing if not present.
create_lexadb()
now creates an empty skeleton for a text.
lexa 0.0.0.9005
Fixed
Fix error with
lexa_pdf
if using bookdown withbase_format
.Underscores in glosses are now converted to
\textunderscore
if output is PDF.
Changed
typeset_gloss()
supports numeric text and sentence ID.typeset_gloss()
now outputs gloss abbreviations as leipzig commands if the output format is PDF.-
Improved
lexa_pdf
Rmarkdown template:Using custom LaTeX template to circumvent unicode-math incompatibility with expex and leipzig.
Includes list of abbreviations for glosses as leipzig commands (the list is based on Croft Tyopology and Universals).
lexa 0.0.0.9004
Fixed
- Error in
typeset_gloss()
when phon is not present in latex format.
lexa 0.0.0.9003
Fixed
-
typeset_gloss()
was not returning the latex gloss when the phonetic transcription was present.
lexa 0.0.0.9002
Breaking changes
Renamed
import_lexicon()
toimport_lexicon_csv()
.create_entry()
is no longer exported.Renamed
print_gloss()
totypeset_gloss()
.
Added
search_lexicon()
addspos
argument to filter by part of speech.The print method for
lexadb
also includes a lexicon breakdown with numerical summaries.The print method for
lexalx
also prints allomorph information and, if present, examples, etymology and notes.The lexicon entry schema now has the following fields:
loan_word
,crossref
,variants
,semantics
(semantic_domain
,synonyms
,antonyms
), and (added tosenses
)literal
,scientific
andusage
.Print methods for
lexatx
andlexast
.Print method for
lexalxs
(returned bysearch_lexicon()
).Added
albanian
database.search_texts()
to search for words or glosses in the texts.show_entry()
which prints the entry with the givenentry_id
.Custom RMarkdown templates
lexa_pdf
andlexa_html
.
Changed
create_entry()
is now exported and outputs a list with the entry id and a string containing the entry skeleton.create_entry()
now allows the user to specify the values of the entry fields.add_entry()
now passes arguments tocreate_entry()
so that the user can specify fields.The entry senses are now numbered when printed.
Changed texts schema.
Both
search_lexicon()
andsearch_texts()
now search whole words by default. This can be changed by specifyingwhole = FALSE
.lexalx
printing method improved.