Giter VIP home page Giter VIP logo

ace-in-gf's People

Contributors

danshaub avatar inariksit avatar johnjcamilleri avatar kaljurand avatar normundsg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ace-in-gf's Issues

Coordination is ambiguous

i.e.

p -lang=Ace "John asks Mary and John asks Mary or John asks Mary ."

gives 2 trees, in one or is on the top and in the other and.

Implement case forms of variables, e.g. X:n

The solution used in mgl/finnishMathFin.gf is:

mkVar : Str -> MathVar = \s -> P.mkPN (M.nForms2N (M.dSDP s)) ;

Testcases:

  • jos X sisältää Y:n, niin Y ei sisällä X:ää .

Evaluate the ambiguity in languages other than ACE

Convert a set of ACE sentences to trees. Assume that the ACE implementation does not have ambiguity, i.e. that we get 1 tree per each sentence.

To evaluate the ambiguity in a (non-ACE) concrete grammar, linearize each tree (but generate only one variant), and parse the obtained linearization, obtaining a list of one or more parse trees. One element of this list is the original parse tree, the other trees stand for alternative meanings.

Display the cases where the roundtrip ACE->LangX->ACE goes wrong, e.g.:

# list of test sentences
ACE sentence 1
  # list of languages where roundtripping fails
  Ger
    # list of ACE sentences that demonstrate the ambiguity
    ACE sentence 1-Ger-1
    ACE sentence 1-Ger-2
    ...
  Spa
    ACE sentence 1-Spa-1
    ...
ACE sentence 2
 ...

(Write a Haskell program to perform this analysis/visualization. Such a tool is actually not specific to ACE-in-GF, e.g. one could apply it to Phrasebook, where the role of ACE is played by DisambEng.)

VP coordination with more than 2 arguments is not supported

This works:

p -lang=Ace "John asks Mary and asks Mary ." 

This does not work:

p -lang=Ace "John asks Mary and asks Mary and asks Mary ."

The exhaustive test did not find this problem because the AceWiki Codeco testset contains sentences of max length 8 tokens.

$ cat sentences.txt | sed 's/ *$//' | sed "s/  /|/g" | sed "s/[^|]//g" | sort | uniq -c | sort -nr
15254 |||||||
 3158 ||||||
  740 |||||
  223 ||||
   46 |||
    1 ||

Cannot compile

Both of the commands given in readme for setup fail:

make pgf_acewiki_aceowl
make pgf_ontograph_40

Both fail with:

"File Numeral.gf does not exist."

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.