Giter VIP home page Giter VIP logo

hunalign's People

Contributors

danielvarga avatar sidewaysgravity 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  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

hunalign's Issues

Sizes differing too much

Hi,
I'm trying to align an Arabic-English text corpus by using the following command: src/hunalign/hunalign -text -hand=hand_align_file dict.txt ar.txt en.txt. I don't have a dictionary, so dict.txt is an empty text file. When I run it I get this error:

Reading dictionary...
20 hungarian sentences read.
0 english sentences read.
Sizes differing too much. Ignoring files to avoid a rare loop bug.

Am I missing something? Why aren't the english sentences read? Should I provide language codes when working with a different language than hungarian?

Can't download the .tgz file

Closing the issue. It was my connection problem. Thanks!

Hi,

I was not able to connect to the server as a guest and download the source code file or the package.

Here are the steps I took:

  1. Click ftp://ftp.mokk.bme.hu/Hunglish/src/hunalign/latest/hunalign-1.1.tgz
  2. Connect to the server as a Guest on the pop-out window
  3. Wait and nothing happens

Please help. Thanks!

Hunalign gives very high priority to matching numbers (e.g. "Book 1" to "Chapter 1")

I have two files structured like this:

The Author
The Book Name

Book I

The introduction text.

Chapter 1 The Beginning

The first sentence.
La autoro
La nomo di libro

Libro 1

La prefaca texto.

Chapitro I La Komenco

La unesma frazo.

The result of hunalign -text is:

The Author	La autoro	0.266667
The Book Name ~~~ 	La nomo di libro	0
Book I		-0.3
 ~~~ The introduction text.		-0.3
		0.3
Chapter 1 The Beginning	Libro 1	10.7
		0.3
The first sentence.	La prefaca texto. ~~~ 	0
	Chapitro I La Komenco	-0.3
		0.3
	La unesma frazo.	-0.3
		0.3

I.E. "Chapter 1" gets matched incorrectly to "Libro 1" (with a very high confidence score!), skewing the whole alignment - apparently, just because there is a number "1" at the both sides.

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.