Skip to content

Commit

Permalink
Move the lg-dict directory
Browse files Browse the repository at this point in the history
  • Loading branch information
linas committed Dec 22, 2014
1 parent 248649f commit 14ef8a8
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 33 deletions.
5 changes: 2 additions & 3 deletions opencog/nlp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ ADD_SUBDIRECTORY (types)
ADD_SUBDIRECTORY (wsd)

IF (HAVE_VITERBI)
ADD_SUBDIRECTORY (lg-dict)

# Currently does not build, due to changes in SchemeEval API.
# ADD_SUBDIRECTORY (viterbi)
ENDIF (HAVE_VITERBI)

IF (HAVE_LINK_GRAMMAR)
ADD_SUBDIRECTORY (sureal)
ENDIF (HAVE_LINK_GRAMMAR)
27 changes: 27 additions & 0 deletions opencog/nlp/lg-dict/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

INCLUDE_DIRECTORIES (
${LINK_GRAMMAR_INCLUDE_DIRS} # for LinkGrammar dictionary
${CMAKE_BINARY_DIR} # for the NLP atom types
)

ADD_LIBRARY (lg-dict SHARED
LGDictReader
)

ADD_DEPENDENCIES (lg-dict
nlp_atom_types
)

TARGET_LINK_LIBRARIES (lg-dict smob ${LINK_GRAMMAR_LIBRARY})

ADD_LIBRARY (LGDictModule SHARED
LGDictModule
)

TARGET_LINK_LIBRARIES (LGDictModule lg-dict server)

IF (WIN32)
INSTALL (TARGETS lg-dict DESTINATION "lib${LIB_DIR_SUFFIX}/opencog")
ELSEIF (CYGWIN)
INSTALL (TARGETS lg-dict DESTINATION "lib${LIB_DIR_SUFFIX}/opencog")
ENDIF ()
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
29 changes: 0 additions & 29 deletions opencog/nlp/sureal/CMakeLists.txt

This file was deleted.

4 changes: 3 additions & 1 deletion opencog/nlp/sureal/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Surface Realization

Functions for surface realization of output from micro-planner's output. The main function is sureal which takes in a SetLink and returns a sentence. Presently in alpha stage of development.
Functions for surface realization of output from micro-planner's output.
The main function is sureal which takes in a SetLink and returns a
sentence. Presently in alpha stage of development.

0 comments on commit 14ef8a8

Please sign in to comment.