Commit Graph
100 Commits
Author SHA1 Message Date
aarne d1ac9b1d0f vd -conll2latex now converts conll to latex. Without going through GF trees, but as a service to the dependency parser community. 2015-11-23 10:43:03 +00:00
aarne e1daf59d41 AppEst.pgf_c added to the ios project (generated file via xcode) 2015-11-19 22:25:18 +00:00
aarne 4f1632d04d reduced label size and optimized arc length in vd -output=latex 2015-11-18 08:12:26 +00:00
aarne bb416aa524 latex visualization of dep trees: explained the program better and eliminated most magic numbers 2015-11-17 18:08:32 +00:00
aarne c43a650c00 added -output=latex to visialize_dependencies. This generates more familiar-looking output than the default graphviz, which can moreover be pasted into LaTeX documents. Some more work is needed to make long sentences look nice and fit on a page; a constant word length is now used to simplify computing the coordinates. 2015-11-17 09:11:10 +00:00
aarne 47db5b9f03 ios fix: spaces should be removed from Chi but not from Cat 2015-11-11 15:43:48 +00:00
aarne f859deb895 src/ui/ios/GF-Offline-Translator tested to work in XCode with the current GF runtime and grammars. However, AppEst crashes the app - remains to find out why 2015-11-11 14:19:17 +00:00
aarne 29faf9c10e moved old ios-swift files to the subdirectory src/ui/ios/old-swift 2015-11-11 10:56:22 +00:00
aarne 31bfb96353 AppEst was missing from darcs, oops 2015-11-11 09:40:35 +00:00
aarne f12b93c7db removed bogus CompatibilityEng file 2015-11-11 09:39:20 +00:00
aarne 24cf29622d merged core rgl words with new DictionaryEst words 2015-11-11 09:27:42 +00:00
aarne b1d4ccfb13 FromCoreRgl.gf: a concrete syntax of Dictionary with all words that can be inherited from core RGL Structural and Lexicon. This should be the best source for those words that are there, since they have been carefully checked. 2015-11-11 08:59:44 +00:00
aarne 147e5e1aeb added Estonian to the Android app 2015-11-09 13:32:57 +00:00
aarne 236a4b2550 small fixes in Est translation and app.probs 2015-11-09 12:44:19 +00:00
aarne d8d8b36f1c last fixes to make AppEst compile 2015-11-09 11:02:09 +00:00
aarne 1876e92d2c Estonian in wide-coverage translation. ChunkEst to revise, ExtensionsEst to complete 2015-11-09 10:44:53 +00:00
aarne 6147c1211c started Estonian phrasebook modules to test AppEst 2015-11-09 10:43:24 +00:00
aarne e1ca534f70 the visualization commands (aw,vd,vp,vt) can now show multiple trees. Previously they only showed one tree even if there were for instance after ambiguous parsing. The reason was that dot (graphviz) ignored all graphs but the first one. Now the graphs are put into separate files. The 'convert' command from ImageMagick package is used to combine them to one pdf. If this is a problem, the old behaviour can be restored by the -number=1 option to the tree-generating command, which cuts away all trees but the one and doesn't require ImageMagick. 2015-11-05 16:47:41 +00:00
aarne 456119e7e2 vp -showdep: as default label for the first (incl. only) argument, don't use dep#0 but assume it is the head 2015-11-05 08:30:13 +00:00
aarne 72004a98f6 improved documentation of vp -showdep 2015-11-05 08:23:33 +00:00
aarne 176c208343 dependency labels in parse trees now with the -deps flag, -file=labels_file for configuration. With -nocat option this shows reasonable dep trees, more familiar looking than the vd command. With -showfun flag, the tree gives a rather complete picture of the analysis of the sentence. 2015-11-04 20:36:47 +00:00
aarne 1b7d61ea2e prepared visualize_parse for showing dependency labels 2015-11-04 17:28:09 +00:00
aarne 90a5c3fe85 added documentation of list constructors to abstract/ files to improve the absfun document 2015-10-19 13:21:33 +00:00
aarne a0b56e0563 rebuilt absfuns.html with some Constructions and by giving lists of deps for non-local rules 2015-10-15 15:09:22 +00:00
aarne 92b99935f3 German V3 default without preposition is now Dat+Acc, not Acc+Dat - in conformance with ditransitives in other languages 2015-10-15 15:08:25 +00:00
aarne a3bc2c4cf0 revised comments in Construction so that some functions can be shown in absfun doc 2015-10-15 15:01:38 +00:00
aarne 38c6bbc71b made Lexicon.give_V3 ditransitive in a number of languages; corrected the default order for V3 in Romance (was accusative dative, now the other way around as it should be) 2015-10-15 14:43:20 +00:00
aarne bb289d9297 improved absfuns.html generation, added links, improved comments in source files to give better documentation 2015-10-14 09:05:37 +00:00
aarne d277fe88e1 added a copy of uddeps.labels; script for generating a table of abstract RGL functions and information on them; an instance of running the script, absfuns.html, to be used as documentation 2015-10-14 08:04:09 +00:00
aarne f5e56ebd50 noticed an issue with the placement of verb particle in Swedish; not yet fixed 2015-10-13 13:06:06 +00:00
aarne 33f1d0c583 corrections in DictionarySwe,Fin to deal with UD examples 2015-10-13 13:05:26 +00:00
aarne dcd634f92e fixes in Dut Ita Spa numeral "one" 2015-09-18 06:15:31 +00:00
aarne f4197a374f fixes in Dut infinitive/extraposed word order. Not quite clear yet. 2015-09-17 19:44:35 +00:00
aarne bbc679c6d6 additions and corrections to Dut,Fre,Ita needed for a dialogue system grammar 2015-09-17 09:50:52 +00:00
aarne 78766d3cd8 corrected IrregGer.sein_V to match with ResGer.sein_V 2015-09-15 18:03:47 +00:00
aarne 3b1bba0f11 some fixes in DictionaryGer 2015-09-16 09:57:43 +00:00
aarne ae94991571 removed bogus "om" from Dut infinitives; fixed "wrong" in Chi 2015-09-04 15:38:49 +00:00
aarne 898f59bb7d commented out PConj_Chunk, which created lots of bogus parses because of NoPConj. All real PConj chunks can be parsed as Conj chunks anyway. 2015-09-01 08:46:55 +00:00
aarne fc371e64bd added ConstructionTha and implemented parts of it 2015-09-01 08:29:48 +00:00
aarne c6b36b99c7 removed obsolete flags from LangEng.gf 2015-09-01 08:29:10 +00:00
aarne 6a9083bc9e discontinuous Ger AP part in UttAP 2015-07-27 09:18:14 +00:00
aarne 6519a3b72e restoring the discontinuous Ger NP parts in some linearizations 2015-07-27 09:14:10 +00:00
aarne 0941e98a00 new synopsis, with the recent RGL fixes 2015-07-27 09:13:39 +00:00
aarne 6c8bb0575b rewrote an mkPN application in WordsGer to work around a problem that might be a type checker bug 2015-07-23 16:16:38 +00:00
aarne 3fd7cf4e87 restored one-arg mkPN 2015-07-23 16:03:18 +00:00
aarne 9c364bbae9 pinyin version of ConstructionChi 2015-07-21 15:38:16 +00:00
aarne 4b5ff2edf8 Ger Rel changes in ExtensionsGer 2015-07-21 15:06:05 +00:00
aarne e366ca76fd German relative "was" in RelS 2015-07-21 15:00:35 +00:00
aarne 26074f7669 some Dictionary fixes in Swe,Cat 2015-07-21 13:16:36 +00:00
aarne 3d22d05bdc added PassV2 to App; PassVPSlash did not work as VPSlash was disabled for speed reasons 2015-07-21 13:01:29 +00:00
aarne 6c92c1e414 removed the obsolete examples/translator directory, which caused confusion 2015-07-20 14:32:50 +00:00
aarne 53c477d2a2 copula in romance: ser/estar for Cat,Spa, just essere/etre in Ita,Fra. Controlled by the param type CopulaType in DiffRomance. 2015-07-20 13:41:01 +00:00
aarne b3acc4d4c3 constants for Chi negation words to support Pinyin 2015-07-19 09:40:59 +00:00
aarne 2c61609344 Pinyin files using diacritics instead of numbers 2015-07-19 09:11:45 +00:00
aarne a68fae0f84 file with noun classifiers extracted from DictionaryChi" 2015-07-19 08:15:59 +00:00
aarne 05146d567d Pinyin with accents in additions to tone numbers 2015-07-16 13:58:58 +00:00
aarne a5e3a845d7 MkTour.hs fixed to work with current ghc 2015-07-16 12:37:01 +00:00
aarne eb8714fd77 added a space after the tag in word alignment to work around a graphviz bug shown with Chinese characters 2015-07-16 08:36:14 +00:00
aarne 6717481bfe fixes in Chinese 2015-07-15 16:12:56 +00:00
aarne 6af8c90ad2 fixes in Chi suggested by Mary 2015-07-14 15:11:33 +00:00
aarne dbd4e04af3 subordinate sentence order and two intransitive verbs in Chi 2015-07-14 12:40:29 +00:00
aarne 7f74e5a709 smart paradigm of Swe compound form: more rules for words ending "e", "tet" 2015-06-25 05:24:46 +00:00
aarne f0b5b7d5c1 commented out who_N, which creates bizarre translators; if the name of WHO, should not be an N anyway 2015-06-23 08:48:03 +00:00
aarne 694d871410 marked in Translate.gf which new functions are needed in Penn treebank but left their imports commented out for the time being 2015-06-10 09:46:54 +00:00
aarne c3583458a4 Eng and Fre Numeral: from - to BIND - BIND 2015-06-09 12:56:42 +00:00
aarne 9510870d2d updated Android helpfile 2015-06-09 09:32:11 +00:00
aarne 09566f9680 note on official vs development version of the Android app 2015-06-09 09:28:39 +00:00
aarne 7491a8da83 updated demos/app.html 2015-06-09 09:22:59 +00:00
aarne e912a0e358 geneated a file with split senses and their explanatory comments 2015-06-09 08:59:17 +00:00
aarne d09da96bbc some Fin and Ita Dictionary fixes 2015-06-08 11:42:18 +00:00
aarne 4d7a4a2f59 split sense baselines in Dictionaries except Bul,Eng,Hin 2015-06-08 09:28:47 +00:00
aarne 19707b3efd file SenseSplits.hs to create baseline linearizations for split senses by just using the old unsplit functions; this is better than failure at runtime. Applied to DictionarySwe. 2015-06-08 08:47:32 +00:00
aarne a128373dce enabled VPI functions in ExtraDut 2015-06-07 21:00:19 +00:00
aarne 350a333b3f need_V2 in Ita and Fre 2015-06-07 17:50:28 +00:00
aarne dba8385bb3 AppFre.pgf added to repo by mistake, now removed 2015-06-02 13:21:55 +00:00
aarne f737fba187 typo in DictionaryChi 2015-06-02 13:21:16 +00:00
aarne 2529f87942 copied examples/app to examples/slowApp; the new app is a bit scaled down but much faster 2015-06-02 12:59:29 +00:00
aarne f939bc2524 French input grammar FreInput separated from Fre 2015-06-02 09:45:44 +00:00
aarne e80c5779cb an input grammar for French - 40 times faster, makes all the difference in the app! 2015-06-02 09:13:15 +00:00
aarne 26dd5afe3e Dictionary fixes in Swe, Fin, Fre 2015-06-02 08:51:27 +00:00
aarne 31b79c3d6b added ListVPS and ListVPI related functions to import lists of Translate grammars - they had been missing. This can improve translation also in the app. 2015-05-29 16:08:55 +00:00
aarne 1664f8365f corrections in check-dictionary document 2015-05-28 12:03:44 +00:00
aarne 6adc5db14b started DictionaryMlt and TopDictionaryMlt by copying LexiconMlt and StructuralMlt 2015-05-28 11:32:26 +00:00
aarne 6335a44f9b some fixes in DictionaryDut, mostly with particle verbs 2015-05-28 11:07:23 +00:00
aarne f7d9d5bfa1 some fixes in Ger and Swe Dictionary 2015-05-28 10:56:39 +00:00
aarne fa7a2f601a restored ExtensionsGer.CompoundN so that it compiles with the current RGL 2015-05-22 12:27:35 +00:00
aarne b57e5dcc12 fixed the word order of Scand discontious conjunctions: antinger jag vinner eller... -> antingen vinner jag eller... 2015-05-22 11:31:57 +00:00
aarne 9a79889511 some probabilities of structural words used as nouns lowered 2015-04-22 07:37:14 +00:00
aarne 8a720913c1 Finnish geonames in Dictionary 2015-04-22 06:58:13 +00:00
aarne ecdc44c572 some new words in Dictionary ; fixed many more words in DictionaryFin 2015-04-21 16:01:54 +00:00
aarne f0f1748360 some translate.probs decreased ; fine-tuning in pgf-hsbind-trans 2015-04-21 14:13:13 +00:00
aarne bf6613cefb python binding examples directory 2015-04-20 07:42:11 +00:00
aarne ab5d911141 new words in DictionaryFin and rules in ExtensionsFin ; some fun's in Dictionary commented out with ----* 2015-04-17 15:48:01 +00:00
aarne 168e6a04d8 pgf-hsbind-trans now with linearizeAll 2015-04-17 14:33:28 +00:00
aarne e12e2f78c8 adjusted translate.probs 2015-04-17 07:08:14 +00:00
aarne 3ddbc44789 simplified the example translator and renamed it to pgf-hsbind-trans 2015-04-16 13:51:18 +00:00
aarne a54c8b2bd2 lower probability for chunked phrases 2015-04-16 11:39:28 +00:00
aarne 14ad792ce7 two-place Dut.mkA to deal with unpredictable attributive form 2015-04-16 07:03:29 +00:00
aarne 2bd5bba87c Dutch mkA morpheme -en added to those not duplicating end consonant 2015-04-16 06:52:59 +00:00
aarne 538784e6dc restored Cantonese as app Chi speech output: nothing else seems to work 2015-04-16 06:52:09 +00:00